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.001691/0.001691, allocations: 120.8 kB / 17.74 MB, free: 5.293 MB / 14.72 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.001859/0.001859, allocations: 190.9 kB / 20.68 MB, free: 2.359 MB / 14.72 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 1.413/1.413, allocations: 222.9 MB / 246.4 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002303/0.002303, allocations: 47.92 kB / 357.5 MB, free: 8.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1373, allocations: 49.44 MB / 406.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003187/0.1406, allocations: 0.8912 MB / 407.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.1412, allocations: 147.5 kB / 408 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1413, allocations: 4 kB / 408 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1414, allocations: 11.88 kB / 408 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1416, allocations: 19.86 kB / 408 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1419, allocations: 47.89 kB / 408 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.1421, allocations: 67.81 kB / 408.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1423, allocations: 43.92 kB / 408.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.304e-05/0.1424, allocations: 31.8 kB / 408.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1425, allocations: 35.84 kB / 408.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.1425, allocations: 4 kB / 408.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.976e-05/0.1426, allocations: 8 kB / 408.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.1427, allocations: 39.83 kB / 408.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.1427, allocations: 35.75 kB / 408.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.143, allocations: 103.7 kB / 408.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.143, allocations: 4 kB / 408.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.143, allocations: 0 / 408.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.143, allocations: 0 / 408.4 MB, free: 5.938 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.0007036/0.1437, allocations: 410.9 kB / 408.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1438, allocations: 12.03 kB / 408.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/0.1438, allocations: 42.67 kB / 408.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.1439, allocations: 16.84 kB / 408.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.1442, allocations: 212.2 kB / 409.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1442, allocations: 8.375 kB / 409.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1443, allocations: 8.375 kB / 409.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.1448, allocations: 230.8 kB / 409.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1448, allocations: 3.938 kB / 409.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1449, allocations: 4 kB / 409.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1449, allocations: 8 kB / 409.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.145, allocations: 47.91 kB / 409.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.1453, allocations: 189.6 kB / 409.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.1456, allocations: 146.9 kB / 409.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1458, allocations: 90.2 kB / 409.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1458, allocations: 8 kB / 409.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1459, allocations: 38.72 kB / 409.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.1459, allocations: 0 / 409.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000443/0.1463, allocations: 177.4 kB / 410 MB, free: 4.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.1465, allocations: 61.52 kB / 410.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.1467, allocations: 168.4 kB / 410.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1467, allocations: 25.7 kB / 410.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1469, allocations: 96.47 kB / 410.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1469, allocations: 11.98 kB / 410.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.147, allocations: 41.66 kB / 410.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1472, allocations: 318.8 kB / 410.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.1472, allocations: 23.98 kB / 410.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1474, allocations: 129.6 kB / 410.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1476, allocations: 149.5 kB / 411 MB, free: 2.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1477, allocations: 0 / 411 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003364/0.148, allocations: 165.3 kB / 411.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.148, allocations: 11.94 kB / 411.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1481, allocations: 4 kB / 411.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1481, allocations: 4 kB / 411.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1483, allocations: 39.92 kB / 411.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1483, allocations: 4 kB / 411.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.246e-05/0.1484, allocations: 12.33 kB / 411.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.1484, allocations: 16 kB / 411.3 MB, free: 2.73 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.0002079/0.1486, allocations: 142.3 kB / 411.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.1488, allocations: 141.4 kB / 411.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.1489, allocations: 21.19 kB / 411.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1489, allocations: 0 / 411.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1489, allocations: 3.938 kB / 411.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1489, allocations: 4 kB / 411.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1492, allocations: 193.5 kB / 411.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1492, allocations: 0 / 411.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.1494, allocations: 31.92 kB / 411.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.1494, allocations: 3.938 kB / 411.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1494, allocations: 4 kB / 411.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1494, allocations: 4 kB / 411.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1494, allocations: 0 / 411.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1497, allocations: 159.2 kB / 412 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.1498, allocations: 112.9 kB / 412.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1499, allocations: 7.938 kB / 412.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.1499, allocations: 11.94 kB / 412.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-06/0.1499, allocations: 0 / 412.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1499, allocations: 0 / 412.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.15, allocations: 120.9 kB / 412.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.15, allocations: 0 / 412.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1503, allocations: 16 kB / 412.2 MB, free: 1.672 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.0007036/0.151, allocations: 0.7829 MB / 413 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1512, allocations: 92.7 kB / 413.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1512, allocations: 0 / 413.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.1512, allocations: 8.188 kB / 413.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1516, allocations: 103.1 kB / 413.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1533, allocations: 1.724 MB / 414.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1537, allocations: 0.72 MB / 415.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.1537, allocations: 17.02 kB / 415.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.1538, allocations: 27.44 kB / 415.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1538, allocations: 0 / 415.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.1775, allocations: 2.617 MB / 418.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.057, allocations: 15.61 kB / 418.3 MB, free: 11.5 MB / 350.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.755275711999275]