Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003689/0.003689, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 51.92 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1515, allocations: 53.34 MB / 426.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.003082/0.1546, allocations: 0.8376 MB / 427.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000466/0.1551, allocations: 119.6 kB / 427.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1552, allocations: 4 kB / 427.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1553, allocations: 7.875 kB / 427.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1555, allocations: 15.92 kB / 427.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1558, allocations: 35.91 kB / 427.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1559, allocations: 43.84 kB / 427.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1561, allocations: 23.98 kB / 427.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.1561, allocations: 11.94 kB / 427.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1563, allocations: 31.83 kB / 427.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.1563, allocations: 4 kB / 427.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.1563, allocations: 4 kB / 427.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.1564, allocations: 15.94 kB / 427.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.1564, allocations: 27.8 kB / 428 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1566, allocations: 63.61 kB / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1566, allocations: 4 kB / 428 MB, free: 3.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1566, allocations: 7.938 kB / 428 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1566, allocations: 0 / 428 MB, free: 3.055 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007265/0.1573, allocations: 375 kB / 428.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1574, allocations: 12.03 kB / 428.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.1574, allocations: 16.84 kB / 428.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.1578, allocations: 194.5 kB / 428.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1578, allocations: 384 / 428.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1578, allocations: 8.375 kB / 428.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.1582, allocations: 143.7 kB / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1582, allocations: 4.125 kB / 428.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1582, allocations: 7.938 kB / 428.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1582, allocations: 4 kB / 428.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.462e-05/0.1583, allocations: 19.98 kB / 428.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.1585, allocations: 173.6 kB / 429 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1587, allocations: 74.62 kB / 429.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.1588, allocations: 40.89 kB / 429.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1588, allocations: 0 / 429.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.1588, allocations: 38.56 kB / 429.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.1588, allocations: 0 / 429.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002882/0.1591, allocations: 105.5 kB / 429.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.1592, allocations: 55.7 kB / 429.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1594, allocations: 141.8 kB / 429.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1594, allocations: 25.7 kB / 429.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.1594, allocations: 84.14 kB / 429.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.1594, allocations: 15.94 kB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.1595, allocations: 25.72 kB / 429.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1596, allocations: 318.8 kB / 429.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.1597, allocations: 8 kB / 429.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.1597, allocations: 62.8 kB / 430 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.648e-05/0.1598, allocations: 74.81 kB / 430 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1598, allocations: 0 / 430 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000152/0.16, allocations: 97.44 kB / 430.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.16, allocations: 7.938 kB / 430.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.16, allocations: 4 kB / 430.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.16, allocations: 0 / 430.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1601, allocations: 15.98 kB / 430.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.1601, allocations: 12.36 kB / 430.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.1602, allocations: 8 kB / 430.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1602, allocations: 7.938 kB / 430.2 MB, free: 0.6406 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001257/0.1603, allocations: 129.8 kB / 430.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1604, allocations: 89.64 kB / 430.4 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.1605, allocations: 12.72 kB / 430.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1605, allocations: 0 / 430.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1605, allocations: 4 kB / 430.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1605, allocations: 0 / 430.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1607, allocations: 177.6 kB / 430.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1607, allocations: 0 / 430.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.1607, allocations: 19.98 kB / 430.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1607, allocations: 3.938 kB / 430.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1608, allocations: 4 kB / 430.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1608, allocations: 4 kB / 430.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1608, allocations: 0 / 430.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.1609, allocations: 105.1 kB / 430.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1611, allocations: 101 kB / 430.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1611, allocations: 11.88 kB / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.1611, allocations: 0 / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-06/0.1611, allocations: 0 / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1611, allocations: 0 / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.435e-05/0.1612, allocations: 113.9 kB / 430.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1612, allocations: 0 / 430.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002041/0.1614, allocations: 8 kB / 431 MB, free: 15.77 MB / 366.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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001297/0.1615, allocations: 103.8 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.1617, allocations: 47.92 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1617, allocations: 0 / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1617, allocations: 0 / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.162, allocations: 47.92 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.1624, allocations: 177.2 kB / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1627, allocations: 0.7007 MB / 432 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.1627, allocations: 4.672 kB / 432 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1628, allocations: 11.44 kB / 432 MB, free: 14.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1628, allocations: 0 / 432 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Templates: time 0.004041/0.1668, allocations: 0.706 MB / 432.7 MB, free: 13.92 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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: 4.983106128871441]