Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001303/0.001303, allocations: 115.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.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.001431/0.001431, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 51.92 kB / 374.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1463, allocations: 53.32 MB / 427.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.004297/0.1506, allocations: 1.515 MB / 429 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005021/0.1511, allocations: 131.6 kB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.1512, allocations: 11.88 kB / 429.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.664e-05/0.1512, allocations: 3.938 kB / 429.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.1514, allocations: 7.922 kB / 429.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1517, allocations: 39.91 kB / 429.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1518, allocations: 31.91 kB / 429.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1519, allocations: 8 kB / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.1519, allocations: 7.938 kB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.152, allocations: 11.92 kB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.152, allocations: 8 kB / 429.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.152, allocations: 0 / 429.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.1521, allocations: 15.92 kB / 429.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1521, allocations: 15.88 kB / 429.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.1522, allocations: 47.7 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1523, allocations: 0 / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1523, allocations: 0 / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.1523, allocations: 3.984 kB / 429.3 MB, free: 2.469 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005279/0.1528, allocations: 363.2 kB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1528, allocations: 12.02 kB / 429.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1529, allocations: 12.89 kB / 429.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.1532, allocations: 180.3 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1532, allocations: 4.375 kB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1532, allocations: 4.375 kB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.1535, allocations: 89.61 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1535, allocations: 192 / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1535, allocations: 3.938 kB / 430 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1535, allocations: 4 kB / 430 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/0.1536, allocations: 15.98 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.154, allocations: 261.7 kB / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1541, allocations: 45.16 kB / 430.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.1542, allocations: 21.7 kB / 430.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1542, allocations: 7.984 kB / 430.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.1542, allocations: 34.56 kB / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1542, allocations: 0 / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003127/0.1545, allocations: 65.61 kB / 430.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.1546, allocations: 77.11 kB / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1548, allocations: 140.6 kB / 430.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1548, allocations: 25.7 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.1548, allocations: 88.08 kB / 430.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.1549, allocations: 4 kB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.1549, allocations: 17.91 kB / 430.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1551, allocations: 322.8 kB / 431.1 MB, free: 464 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.1551, allocations: 4 kB / 431.1 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/0.1552, allocations: 17.7 kB / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/0.1553, allocations: 33.64 kB / 431.1 MB, free: 396 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1553, allocations: 4.062 kB / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001402/0.1554, allocations: 57.58 kB / 431.2 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1554, allocations: 9.812 kB / 431.2 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1554, allocations: 0 / 431.2 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1554, allocations: 0 / 431.2 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.1555, allocations: 4 kB / 431.2 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1555, allocations: 7.984 kB / 431.2 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.1555, allocations: 7.922 kB / 431.2 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1556, allocations: 4.062 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001549/0.1557, allocations: 121.8 kB / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/0.1558, allocations: 37.64 kB / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.1558, allocations: 11.88 kB / 431.4 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1558, allocations: 0 / 431.4 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1558, allocations: 0 / 431.4 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1558, allocations: 3.984 kB / 431.4 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.1561, allocations: 169.6 kB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1561, allocations: 0 / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.1561, allocations: 15.97 kB / 431.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1561, allocations: 0 / 431.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.1561, allocations: 0 / 431.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1561, allocations: 0 / 431.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1561, allocations: 4 kB / 431.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.1563, allocations: 156.3 kB / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.1564, allocations: 93.08 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1564, allocations: 0 / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.1565, allocations: 4 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1565, allocations: 4 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1566, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.1566, allocations: 107.2 kB / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1566, allocations: 0 / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1569, allocations: 4 kB / 432 MB, free: 15.46 MB / 366.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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001254/0.157, allocations: 107.7 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1572, allocations: 15.98 kB / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1572, allocations: 0 / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.1572, allocations: 12 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1576, allocations: 19.83 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.158, allocations: 172.3 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.1584, allocations: 0.6846 MB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1584, allocations: 11.44 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1584, allocations: 0 / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Templates: time 0.002385/0.1608, allocations: 0.6282 MB / 433.6 MB, free: 13.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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: 6.866258249996463]