Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001887/0.001887, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 214.1 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 230.5 MB / 257.4 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.91 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2751, allocations: 53.41 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002335/0.2774, allocations: 0.9239 MB / 432.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004469/0.2779, allocations: 143.5 kB / 432.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.278, allocations: 3.938 kB / 432.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.2781, allocations: 11.86 kB / 432.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.2783, allocations: 15.92 kB / 432.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.2785, allocations: 47.89 kB / 432.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.2787, allocations: 67.77 kB / 432.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.2788, allocations: 31.97 kB / 432.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.2789, allocations: 27.86 kB / 432.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.279, allocations: 39.84 kB / 432.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.279, allocations: 4 kB / 432.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.279, allocations: 8 kB / 432.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.2791, allocations: 35.84 kB / 432.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.2792, allocations: 39.73 kB / 432.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.2794, allocations: 107.8 kB / 432.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2794, allocations: 0 / 432.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2794, allocations: 0 / 432.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2794, allocations: 0 / 432.7 MB, free: 5.227 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000597/0.28, allocations: 337.8 kB / 433 MB, free: 4.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.28, allocations: 8.031 kB / 433 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.2801, allocations: 42.73 kB / 433.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.2801, allocations: 20.84 kB / 433.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.2804, allocations: 146.3 kB / 433.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2804, allocations: 8.375 kB / 433.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2804, allocations: 8.375 kB / 433.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.2809, allocations: 250.1 kB / 433.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2809, allocations: 3.938 kB / 433.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2809, allocations: 8 kB / 433.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2809, allocations: 0 / 433.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.281, allocations: 55.95 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.2812, allocations: 156.6 kB / 433.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.2815, allocations: 143 kB / 433.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.2816, allocations: 76.81 kB / 433.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2816, allocations: 4 kB / 433.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2816, allocations: 38.44 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2816, allocations: 0 / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003446/0.282, allocations: 184.5 kB / 434.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.2821, allocations: 63.41 kB / 434.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.2823, allocations: 162.2 kB / 434.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.2823, allocations: 29.7 kB / 434.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.2824, allocations: 92.47 kB / 434.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.2824, allocations: 15.94 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.2824, allocations: 37.7 kB / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.2826, allocations: 322.8 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.2827, allocations: 19.98 kB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.2828, allocations: 121.7 kB / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.283, allocations: 153.5 kB / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.283, allocations: 0 / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000224/0.2832, allocations: 157.3 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2832, allocations: 11.94 kB / 435.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2832, allocations: 4.5 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2832, allocations: 11.94 kB / 435.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.2834, allocations: 31.98 kB / 435.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2834, allocations: 7.938 kB / 435.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.2834, allocations: 15.89 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2835, allocations: 8 kB / 435.4 MB, free: 2.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.2836, allocations: 146.5 kB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.2838, allocations: 141.4 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.2838, allocations: 21.12 kB / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2838, allocations: 0 / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2838, allocations: 7.922 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2838, allocations: 4 kB / 435.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.284, allocations: 160.7 kB / 435.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.284, allocations: 4 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2841, allocations: 27.92 kB / 435.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2841, allocations: 3.938 kB / 435.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2841, allocations: 4 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2841, allocations: 0 / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2841, allocations: 0 / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.2843, allocations: 172.3 kB / 436.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.2844, allocations: 27.83 kB / 436.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.2844, allocations: 11.94 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.051e-05/0.2844, allocations: 4 kB / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-06/0.2844, allocations: 0 / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2845, allocations: 8 kB / 436.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.155e-05/0.2845, allocations: 115.9 kB / 436.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2845, allocations: 3.938 kB / 436.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000229/0.2848, allocations: 24 kB / 436.2 MB, free: 1.289 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007072/0.2855, allocations: 0.7677 MB / 437 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.2857, allocations: 107.8 kB / 437.1 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2857, allocations: 0 / 437.1 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.2857, allocations: 0 / 437.1 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.2861, allocations: 91.41 kB / 437.2 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.2878, allocations: 1.721 MB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.2882, allocations: 0.7201 MB / 439.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.207e-05/0.2882, allocations: 17.02 kB / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.2883, allocations: 23.44 kB / 439.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2883, allocations: 0 / 439.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.3174, allocations: 2.818 MB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.05, allocations: 11.92 kB / 442.5 MB, free: 10.9 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y[2] in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:time,previous(unitDelay1.u),previous(unitDelay2.u),assignClock1.u[1],assignClock1.u[2],assignClock1.y[1] [Calling sys.exit(0), Time elapsed: 13.49263634500312]