Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001737/0.001737, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.001835/0.001835, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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 1.054/1.054, allocations: 173.3 MB / 201.1 MB, free: 9.328 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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.993e-05/4.19e-05, allocations: 6.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003157/0.003199, allocations: 1.565 MB / 269.6 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005621/0.003761, allocations: 143.4 kB / 269.7 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.003859, allocations: 3.938 kB / 269.7 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.866e-05/0.003928, allocations: 3.938 kB / 269.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.004087, allocations: 7.984 kB / 269.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.004388, allocations: 39.78 kB / 269.7 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.004557, allocations: 39.84 kB / 269.8 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.004686, allocations: 11.98 kB / 269.8 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.004755, allocations: 19.92 kB / 269.8 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.004807, allocations: 7.984 kB / 269.8 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.004832, allocations: 4 kB / 269.8 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.004844, allocations: 0 / 269.8 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.004908, allocations: 15.92 kB / 269.8 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.00495, allocations: 15.94 kB / 269.9 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.005096, allocations: 27.89 kB / 269.9 MB, free: 4.512 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.005101, allocations: 7.938 kB / 269.9 MB, free: 4.504 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.005104, allocations: 0 / 269.9 MB, free: 4.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.005111, allocations: 0 / 269.9 MB, free: 4.504 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005438/0.005655, allocations: 396.4 kB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.005716, allocations: 12.92 kB / 270.3 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.005789, allocations: 8.891 kB / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.006065, allocations: 136.5 kB / 270.4 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.006081, allocations: 4.375 kB / 270.4 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.006098, allocations: 384 / 270.4 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.006465, allocations: 133.6 kB / 270.6 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.006479, allocations: 192 / 270.6 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.006496, allocations: 4.359 kB / 270.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.006507, allocations: 384 / 270.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.006542, allocations: 11.88 kB / 270.6 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.006955, allocations: 267.5 kB / 270.8 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.007164, allocations: 70.12 kB / 270.9 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.007216, allocations: 27.42 kB / 270.9 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.007241, allocations: 0 / 270.9 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.007271, allocations: 37.39 kB / 271 MB, free: 3.246 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.007273, allocations: 0 / 271 MB, free: 3.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002212/0.007494, allocations: 65.7 kB / 271 MB, free: 3.176 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.007558, allocations: 85.09 kB / 271.1 MB, free: 3.074 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.007701, allocations: 189.4 kB / 271.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.007715, allocations: 25.7 kB / 271.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.007878, allocations: 146.7 kB / 271.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.007889, allocations: 4.125 kB / 271.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.007943, allocations: 23.33 kB / 271.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.008106, allocations: 496.1 kB / 272 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.008127, allocations: 7.938 kB / 272 MB, free: 2.156 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-06/0.008134, allocations: 0 / 272 MB, free: 2.156 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.626e-05/0.00817, allocations: 11.67 kB / 272 MB, free: 2.141 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.008174, allocations: 0 / 272 MB, free: 2.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.412e-05/0.008258, allocations: 33.7 kB / 272 MB, free: 2.102 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.008276, allocations: 4 kB / 272 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.008285, allocations: 8.031 kB / 272.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.008309, allocations: 4 kB / 272.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.008371, allocations: 0 / 272.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.008378, allocations: 0 / 272.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.008399, allocations: 4 kB / 272.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.008406, allocations: 3.938 kB / 272.1 MB, free: 2.078 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.697e-05/0.008493, allocations: 160.6 kB / 272.2 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.008568, allocations: 41.66 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.008616, allocations: 20.27 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008619, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008623, allocations: 4 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.008627, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.008778, allocations: 128.6 kB / 272.4 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.008782, allocations: 4 kB / 272.4 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.008847, allocations: 4 kB / 272.4 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.008851, allocations: 0 / 272.4 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.00886, allocations: 7.984 kB / 272.4 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.008864, allocations: 3.938 kB / 272.4 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008865, allocations: 0 / 272.4 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.009022, allocations: 211.5 kB / 272.6 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.009062, allocations: 11.95 kB / 272.7 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.009077, allocations: 4 kB / 272.7 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.009144, allocations: 11.92 kB / 272.7 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.00918, allocations: 0 / 272.7 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.009185, allocations: 0 / 272.7 MB, free: 1.395 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.817e-05/0.009253, allocations: 139.2 kB / 272.8 MB, free: 1.258 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009253, allocations: 3.938 kB / 272.8 MB, free: 1.254 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.009499, allocations: 8 kB / 272.8 MB, free: 1.246 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001164/0.009615, allocations: 95.25 kB / 272.9 MB, free: 1.145 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.00973, allocations: 27.61 kB / 272.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.009732, allocations: 0 / 272.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.009756, allocations: 7.688 kB / 272.9 MB, free: 1.102 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.01013, allocations: 27.08 kB / 273 MB, free: 1.078 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.01051, allocations: 164.7 kB / 273.1 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.001e-05/0.01056, allocations: 59.34 kB / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.924e-05/0.01058, allocations: 0 / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.01061, allocations: 12.5 kB / 273.2 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01061, allocations: 0 / 273.2 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of Templates: time 0.003278/0.01389, allocations: 0.5227 MB / 273.7 MB, free: 288 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.809823563788086]