Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9411/0.9411, allocations: 173.4 MB / 200.4 MB, free: 9.41 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 318.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.366e-05, allocations: 2.281 kB / 318.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001401/0.001415, allocations: 0.9018 MB / 319.3 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003282/0.001743, allocations: 147.5 kB / 319.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.001819, allocations: 7.938 kB / 319.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.873e-05/0.001918, allocations: 27.73 kB / 319.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.002037, allocations: 7.938 kB / 319.5 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.002209, allocations: 43.88 kB / 319.6 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.002321, allocations: 67.78 kB / 319.6 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.002434, allocations: 27.95 kB / 319.7 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.002483, allocations: 43.89 kB / 319.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.002561, allocations: 31.89 kB / 319.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.002585, allocations: 4 kB / 319.7 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.002597, allocations: 8 kB / 319.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.002648, allocations: 27.86 kB / 319.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.002685, allocations: 31.91 kB / 319.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.002809, allocations: 103.5 kB / 319.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002811, allocations: 0 / 319.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.002812, allocations: 0 / 319.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.002817, allocations: 0 / 319.9 MB, free: 4.758 MB / 282.7 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.0003518/0.003168, allocations: 333.8 kB / 320.2 MB, free: 4.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.003206, allocations: 12.92 kB / 320.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.003238, allocations: 42.73 kB / 320.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.003265, allocations: 16.84 kB / 320.3 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.003431, allocations: 149.5 kB / 320.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.003441, allocations: 8.375 kB / 320.4 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.003452, allocations: 12.38 kB / 320.5 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.003745, allocations: 231.6 kB / 320.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.003753, allocations: 192 / 320.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.003761, allocations: 384 / 320.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.003769, allocations: 12.06 kB / 320.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.003831, allocations: 55.91 kB / 320.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.00394, allocations: 148.7 kB / 320.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.004111, allocations: 139 kB / 321 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.004196, allocations: 77.09 kB / 321.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.004206, allocations: 7.984 kB / 321.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.004225, allocations: 38.5 kB / 321.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.004227, allocations: 0 / 321.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002412/0.004468, allocations: 177.5 kB / 321.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.004517, allocations: 63.34 kB / 321.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.004615, allocations: 164.7 kB / 321.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.004627, allocations: 33.7 kB / 321.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.004673, allocations: 92.39 kB / 321.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.004686, allocations: 8 kB / 321.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.004716, allocations: 29.66 kB / 321.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.004807, allocations: 314.8 kB / 322 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.00482, allocations: 4 kB / 322 MB, free: 2.438 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.00484, allocations: 21.7 kB / 322 MB, free: 2.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.00487, allocations: 21.72 kB / 322.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004871, allocations: 3.938 kB / 322.1 MB, free: 2.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.259e-05/0.004924, allocations: 61.58 kB / 322.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.004937, allocations: 8 kB / 322.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.004941, allocations: 0 / 322.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.004952, allocations: 0 / 322.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.004999, allocations: 7.938 kB / 322.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.005005, allocations: 7.938 kB / 322.2 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.005018, allocations: 0 / 322.2 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.005023, allocations: 0 / 322.2 MB, free: 2.289 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (4): * Single equations (assignments): 4 * 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.0001176/0.005141, allocations: 129.8 kB / 322.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.005252, allocations: 141.1 kB / 322.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.005284, allocations: 21.12 kB / 322.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005286, allocations: 0 / 322.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.005291, allocations: 3.938 kB / 322.4 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.005295, allocations: 3.984 kB / 322.4 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.232e-05/0.005367, allocations: 152.6 kB / 322.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005368, allocations: 0 / 322.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.005434, allocations: 35.92 kB / 322.6 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005435, allocations: 0 / 322.6 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.005443, allocations: 4 kB / 322.6 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005444, allocations: 4 kB / 322.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.005446, allocations: 7.938 kB / 322.6 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.005581, allocations: 165 kB / 322.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.005623, allocations: 31.83 kB / 322.8 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.005637, allocations: 4 kB / 322.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.005651, allocations: 0 / 322.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-06/0.005655, allocations: 7.938 kB / 322.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.005658, allocations: 0 / 322.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.324e-05/0.005712, allocations: 123.1 kB / 323 MB, free: 1.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005712, allocations: 3.938 kB / 323 MB, free: 1.395 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.005847, allocations: 12 kB / 323 MB, free: 1.383 MB / 282.7 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.0005301/0.006377, allocations: 0.7835 MB / 323.8 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.006486, allocations: 55.92 kB / 323.8 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.006488, allocations: 0 / 323.8 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.006488, allocations: 0 / 323.8 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.006817, allocations: 98.69 kB / 323.9 MB, free: 440 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009335/0.00775, allocations: 1.373 MB / 325.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.295e-05/0.007813, allocations: 116.8 kB / 325.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.388e-05/0.007827, allocations: 0.5 kB / 325.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.007873, allocations: 32.62 kB / 325.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007874, allocations: 0 / 325.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.02424, allocations: 3.233 MB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/6.676, allocations: 10.84 kB / 328.7 MB, free: 11.7 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.0.0_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: 8.542476310394704]