Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001316/0.001316, allocations: 81.81 kB / 20.68 MB, free: 1.035 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.001344/0.001344, allocations: 153.7 kB / 23.94 MB, free: 4.176 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.421/1.421, allocations: 173.3 MB / 200.4 MB, free: 12.88 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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 318.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.084e-05, allocations: 6.219 kB / 318.9 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002379/0.00241, allocations: 1.427 MB / 320.3 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.002682, allocations: 105.8 kB / 320.5 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.002747, allocations: 0 / 320.5 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.002778, allocations: 4.641 kB / 320.5 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.002818, allocations: 5.469 kB / 320.5 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.003075, allocations: 22.67 kB / 320.5 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.089e-05/0.003156, allocations: 26.38 kB / 320.5 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.673e-05/0.003243, allocations: 6.141 kB / 320.5 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.003297, allocations: 17.08 kB / 320.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.597e-05/0.003333, allocations: 11.47 kB / 320.5 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.003352, allocations: 2.312 kB / 320.5 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.003363, allocations: 2.906 kB / 320.5 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.003377, allocations: 7.922 kB / 320.6 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.003403, allocations: 13.64 kB / 320.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.003485, allocations: 22.56 kB / 320.6 MB, free: 2.492 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003488, allocations: 1.125 kB / 320.6 MB, free: 2.492 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003489, allocations: 0 / 320.6 MB, free: 2.492 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.003493, allocations: 0 / 320.6 MB, free: 2.492 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003287/0.003822, allocations: 270.7 kB / 320.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.00386, allocations: 18 kB / 320.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.003894, allocations: 2.094 kB / 320.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.004057, allocations: 123.5 kB / 321 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.004069, allocations: 1.625 kB / 321 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.004078, allocations: 3.406 kB / 321 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.004368, allocations: 101.8 kB / 321.1 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.004378, allocations: 4.188 kB / 321.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.004387, allocations: 5.078 kB / 321.1 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004392, allocations: 9.75 kB / 321.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.594e-05/0.004478, allocations: 19.05 kB / 321.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.004581, allocations: 106.5 kB / 321.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.004741, allocations: 55.92 kB / 321.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.004798, allocations: 22.25 kB / 321.3 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.004819, allocations: 1.953 kB / 321.3 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.004838, allocations: 35.69 kB / 321.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.004839, allocations: 0 / 321.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002428/0.005082, allocations: 75.59 kB / 321.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.00513, allocations: 53.55 kB / 321.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.005196, allocations: 109 kB / 321.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.005205, allocations: 29.7 kB / 321.6 MB, free: 1.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.005233, allocations: 82.38 kB / 321.7 MB, free: 1.438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.005236, allocations: 0 / 321.7 MB, free: 1.438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.005258, allocations: 16.19 kB / 321.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.005309, allocations: 316.3 kB / 322 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-06/0.005314, allocations: 4 kB / 322 MB, free: 1.102 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-06/0.005317, allocations: 0 / 322 MB, free: 1.102 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.336e-05/0.00533, allocations: 76.53 kB / 322.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.005341, allocations: 75.28 kB / 322.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.845e-05/0.00539, allocations: 33.59 kB / 322.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.005413, allocations: 83.5 kB / 322.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.005424, allocations: 76.62 kB / 322.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.005453, allocations: 153.4 kB / 322.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-06/0.005463, allocations: 80.66 kB / 322.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.005484, allocations: 159.3 kB / 322.7 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.005535, allocations: 88.41 kB / 322.8 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.005545, allocations: 80.62 kB / 322.9 MB, free: 228 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 5.033e-05/0.005595, allocations: 182.5 kB / 323.1 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.005719, allocations: 60.05 kB / 323.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.005748, allocations: 6.141 kB / 323.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005751, allocations: 2.266 kB / 323.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.005755, allocations: 0 / 323.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.00576, allocations: 3.938 kB / 323.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.771e-05/0.005847, allocations: 108.5 kB / 323.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.00585, allocations: 0 / 323.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.005928, allocations: 20.03 kB / 323.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.005932, allocations: 1.75 kB / 323.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.005938, allocations: 0 / 323.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.005944, allocations: 5.141 kB / 323.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.005945, allocations: 1 kB / 323.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.006098, allocations: 85.58 kB / 323.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.006109, allocations: 6.203 kB / 323.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.006123, allocations: 5.188 kB / 323.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.006149, allocations: 2.422 kB / 323.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-06/0.006152, allocations: 1.094 kB / 323.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.006157, allocations: 5.312 kB / 323.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.006208, allocations: 86.28 kB / 323.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006208, allocations: 0 / 323.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.006421, allocations: 2.531 kB / 323.5 MB, free: 15.67 MB / 302.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: 3 (step.y,assignClock1.u,assignClock1.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.0001047/0.006526, allocations: 104.4 kB / 323.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.763e-05/0.006614, allocations: 13.89 kB / 323.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.006616, allocations: 1.125 kB / 323.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.006616, allocations: 0 / 323.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.006857, allocations: 24.77 kB / 323.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.007126, allocations: 115 kB / 323.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.224e-05/0.007189, allocations: 69.8 kB / 323.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.858e-06/0.007198, allocations: 0 / 323.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.007222, allocations: 9.688 kB / 323.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.007223, allocations: 1.375 kB / 323.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Templates: time 0.002414/0.009637, allocations: 294.7 kB / 324.1 MB, free: 15.3 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.1318685337901115]