Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.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.001904/0.001904, allocations: 119.1 kB / 18.45 MB, free: 4.605 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.002253/0.002253, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 207.6 MB / 231.8 MB, free: 4.117 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 59.91 kB / 342.7 MB, free: 9.559 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.149, allocations: 49.12 MB / 391.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.006714/0.1557, allocations: 1.824 MB / 393.7 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1581, allocations: 0.6824 MB / 394.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.1585, allocations: 7.938 kB / 394.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1588, allocations: 31.66 kB / 394.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.159, allocations: 31.72 kB / 394.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.1597, allocations: 83.78 kB / 394.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.1601, allocations: 167.5 kB / 394.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.1605, allocations: 66.62 kB / 394.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.1608, allocations: 71.66 kB / 394.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.1611, allocations: 87.59 kB / 394.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.1612, allocations: 16 kB / 394.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1613, allocations: 27.92 kB / 394.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1614, allocations: 43.84 kB / 395 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1615, allocations: 83.47 kB / 395.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.1621, allocations: 203 kB / 395.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.1621, allocations: 0 / 395.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1621, allocations: 0 / 395.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.1621, allocations: 4 kB / 395.3 MB, free: 4.844 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001551/0.1637, allocations: 0.5024 MB / 395.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.1637, allocations: 8.031 kB / 395.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1638, allocations: 24.8 kB / 395.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.1643, allocations: 252 kB / 396.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.1644, allocations: 16.38 kB / 396.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.1644, allocations: 16.38 kB / 396.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.1651, allocations: 201.9 kB / 396.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1651, allocations: 3.938 kB / 396.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.1652, allocations: 8 kB / 396.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.1652, allocations: 7.859 kB / 396.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.1657, allocations: 151.8 kB / 396.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.1674, allocations: 0.7895 MB / 397.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008943/0.1683, allocations: 182.6 kB / 397.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.1685, allocations: 56.83 kB / 397.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.1686, allocations: 7.984 kB / 397.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.169, allocations: 141 kB / 397.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.169, allocations: 3.938 kB / 397.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009166/0.1699, allocations: 249.3 kB / 397.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.17, allocations: 81.11 kB / 397.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.1703, allocations: 222.9 kB / 398.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.1703, allocations: 29.7 kB / 398.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1705, allocations: 140.4 kB / 398.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.1706, allocations: 39.72 kB / 398.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.1707, allocations: 57.69 kB / 398.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1709, allocations: 330.8 kB / 398.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1712, allocations: 71.95 kB / 398.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.1715, allocations: 140.4 kB / 399 MB, free: 0.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.172, allocations: 216.3 kB / 399.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.172, allocations: 0 / 399.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007359/0.1727, allocations: 249.2 kB / 399.4 MB, free: 392 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1728, allocations: 8 kB / 399.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1728, allocations: 320 / 399.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.1728, allocations: 4.25 kB / 399.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.173, allocations: 39.92 kB / 399.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.1731, allocations: 11.94 kB / 399.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.1733, allocations: 35.81 kB / 399.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.1734, allocations: 15.94 kB / 399.5 MB, free: 276 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (product.y,product.u[2],product.u[1],sum.u[1],triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition3,$whenCondition2,multiSwitch1.expr[2],multiSwitch1.expr[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1,triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002107/0.1736, allocations: 144.1 kB / 399.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.1737, allocations: 15.91 kB / 399.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.1741, allocations: 135 kB / 399.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1741, allocations: 0 / 399.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1741, allocations: 0 / 399.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1741, allocations: 0 / 399.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1751, allocations: 494.5 kB / 400.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.1751, allocations: 4 kB / 400.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1753, allocations: 15.98 kB / 400.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1753, allocations: 0 / 400.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1753, allocations: 12 kB / 400.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.1753, allocations: 3.938 kB / 400.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1753, allocations: 0 / 400.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.1759, allocations: 284.1 kB / 400.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1761, allocations: 104.9 kB / 400.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.1761, allocations: 0 / 400.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.1764, allocations: 23.92 kB / 400.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1765, allocations: 27.95 kB / 400.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.1765, allocations: 8 kB / 400.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.1767, allocations: 148.4 kB / 400.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1767, allocations: 0 / 400.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005453/0.1773, allocations: 40 kB / 400.9 MB, free: 14.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002508/0.1775, allocations: 103.2 kB / 401 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006357/0.1781, allocations: 171.7 kB / 401.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1781, allocations: 0 / 401.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.1784, allocations: 71.89 kB / 401.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.179, allocations: 40.66 kB / 401.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1802, allocations: 365.8 kB / 401.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.1806, allocations: 0.728 MB / 402.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.1808, allocations: 45.45 kB / 402.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.1809, allocations: 15.44 kB / 402.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1809, allocations: 4 kB / 402.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of Templates: time 0.00817/0.1891, allocations: 2.119 MB / 404.6 MB, free: 11.01 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/IntegerNetwork1/IntegerNetwork1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.090750866569579]