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.001971/0.001971, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002354/0.002354, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.535/1.535, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.003117/0.003117, allocations: 71.88 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3786, allocations: 53.4 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002335/0.3809, allocations: 0.901 MB / 432 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003947/0.3813, allocations: 139.5 kB / 432.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.525e-05/0.3814, allocations: 3.938 kB / 432.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.3815, allocations: 15.86 kB / 432.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3817, allocations: 19.84 kB / 432.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.3819, allocations: 55.89 kB / 432.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.382, allocations: 63.77 kB / 432.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3822, allocations: 27.98 kB / 432.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.441e-05/0.3822, allocations: 27.86 kB / 432.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.3823, allocations: 47.77 kB / 432.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3823, allocations: 4 kB / 432.4 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.3823, allocations: 4 kB / 432.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.3824, allocations: 31.91 kB / 432.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.3825, allocations: 27.75 kB / 432.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.3826, allocations: 101.2 kB / 432.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3826, allocations: 4 kB / 432.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3826, allocations: 3.938 kB / 432.6 MB, free: 5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3826, allocations: 4 kB / 432.6 MB, free: 4.996 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.0005433/0.3832, allocations: 333.8 kB / 432.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3832, allocations: 15.98 kB / 432.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.3833, allocations: 42.73 kB / 433 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3833, allocations: 16.84 kB / 433 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.3836, allocations: 153.4 kB / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3836, allocations: 8.312 kB / 433.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.3836, allocations: 8.375 kB / 433.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.384, allocations: 246.2 kB / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.384, allocations: 3.938 kB / 433.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3841, allocations: 0 / 433.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3841, allocations: 4 kB / 433.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-05/0.3842, allocations: 55.83 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.3843, allocations: 156.6 kB / 433.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.3846, allocations: 139 kB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3847, allocations: 80.75 kB / 433.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.3848, allocations: 7.938 kB / 433.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3848, allocations: 38.56 kB / 433.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3848, allocations: 0 / 433.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003303/0.3851, allocations: 181.1 kB / 434.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.3852, allocations: 59.41 kB / 434.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3854, allocations: 162.2 kB / 434.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3854, allocations: 25.7 kB / 434.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.3854, allocations: 96.39 kB / 434.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.3854, allocations: 11.95 kB / 434.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.3855, allocations: 41.7 kB / 434.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3857, allocations: 322.8 kB / 434.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-05/0.3857, allocations: 23.98 kB / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3858, allocations: 121.7 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.386, allocations: 153.5 kB / 435.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.386, allocations: 4 kB / 435.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000231/0.3862, allocations: 157.5 kB / 435.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3862, allocations: 7.938 kB / 435.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3862, allocations: 4 kB / 435.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3862, allocations: 11.98 kB / 435.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3864, allocations: 27.94 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3864, allocations: 7.984 kB / 435.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.3864, allocations: 19.83 kB / 435.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3864, allocations: 8 kB / 435.3 MB, free: 2.004 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.0001241/0.3866, allocations: 146.8 kB / 435.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.3867, allocations: 149.4 kB / 435.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.3868, allocations: 21.11 kB / 435.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3868, allocations: 0 / 435.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3868, allocations: 0 / 435.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3868, allocations: 0 / 435.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.3869, allocations: 156.7 kB / 435.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3869, allocations: 0 / 435.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.387, allocations: 27.98 kB / 435.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.387, allocations: 11.94 kB / 435.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.387, allocations: 0 / 435.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.387, allocations: 4 kB / 435.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.387, allocations: 0 / 435.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3873, allocations: 168.9 kB / 436 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3873, allocations: 35.83 kB / 436 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3873, allocations: 3.938 kB / 436 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.3874, allocations: 4 kB / 436 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-06/0.3874, allocations: 0 / 436 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.3874, allocations: 4 kB / 436 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.109e-05/0.3875, allocations: 127.9 kB / 436.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3875, allocations: 4 kB / 436.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3877, allocations: 16 kB / 436.2 MB, free: 1.066 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.0006976/0.3884, allocations: 0.7759 MB / 436.9 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.3886, allocations: 100.5 kB / 437 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3886, allocations: 320 / 437 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.3886, allocations: 4 kB / 437 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.389, allocations: 98.03 kB / 437.1 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.3907, allocations: 1.716 MB / 438.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.764e-05/0.3908, allocations: 109 kB / 439 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.326e-05/0.3908, allocations: 9.094 kB / 439 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.3909, allocations: 31.42 kB / 439 MB, free: 14.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3909, allocations: 0 / 439 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.4199, allocations: 3.247 MB / 442.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.28, allocations: 7.469 kB / 442.3 MB, free: 10.89 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.985273387748748]