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.001059/0.001059, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001039/0.001039, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.383e-06/1.383e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.521e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002131/0.002156, allocations: 1.555 MB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.002472, allocations: 147.4 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.00254, allocations: 4 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.627e-05/0.002586, allocations: 3.938 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.002714, allocations: 11.86 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.002907, allocations: 35.84 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.002994, allocations: 31.86 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.003084, allocations: 12 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.003128, allocations: 11.98 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.003165, allocations: 11.92 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.003185, allocations: 0 / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.003194, allocations: 4 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.003235, allocations: 11.98 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.003256, allocations: 7.938 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.596e-05/0.003342, allocations: 35.83 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003344, allocations: 0 / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003345, allocations: 0 / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.003349, allocations: 0 / 274.8 MB, free: 15.64 MB / 266.7 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.0003314/0.00368, allocations: 392.4 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.003712, allocations: 8.031 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.003746, allocations: 8.891 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.003888, allocations: 136.4 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.003895, allocations: 384 / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.003902, allocations: 4.375 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.004098, allocations: 109.6 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.004104, allocations: 4.188 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.004112, allocations: 384 / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.004119, allocations: 384 / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.004136, allocations: 7.938 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.004363, allocations: 267.4 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.702e-05/0.004411, allocations: 54.19 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.00443, allocations: 19.31 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.004443, allocations: 3.984 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.004462, allocations: 41.39 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.004463, allocations: 4 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001257/0.004589, allocations: 53.56 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.00463, allocations: 77.11 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.004721, allocations: 193.9 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.004731, allocations: 25.7 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.004772, allocations: 126.9 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.004778, allocations: 0 / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.004804, allocations: 27.36 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.004902, allocations: 496.1 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.004909, allocations: 256 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-06/0.004914, allocations: 4 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.00494, allocations: 15.69 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004942, allocations: 0 / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.844e-05/0.00498, allocations: 37.59 kB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.004994, allocations: 11.98 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.004999, allocations: 7.938 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.005009, allocations: 0 / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.005054, allocations: 0 / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.005059, allocations: 4 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.109e-05/0.00507, allocations: 4.094 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.005074, allocations: 0 / 276.9 MB, free: 13.28 MB / 266.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 5.57e-05/0.00513, allocations: 152.6 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.005158, allocations: 45.64 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.005188, allocations: 11.75 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.00519, allocations: 3.938 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.005193, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005195, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.859e-05/0.005283, allocations: 124.6 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.005286, allocations: 4 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.005301, allocations: 12.02 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.005303, allocations: 0 / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.005308, allocations: 3.938 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005309, allocations: 3.938 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00531, allocations: 0 / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.294e-05/0.005393, allocations: 195.6 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.005415, allocations: 15.88 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.005423, allocations: 0 / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.682e-05/0.00545, allocations: 7.938 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.005475, allocations: 3.938 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005477, allocations: 4.031 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.586e-05/0.005523, allocations: 150.7 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005523, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.005653, allocations: 4 kB / 277.7 MB, free: 12.48 MB / 266.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: 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 6.122e-05/0.005715, allocations: 95.25 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.891e-05/0.005774, allocations: 11.69 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005775, allocations: 0 / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.005785, allocations: 7.688 kB / 277.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.005994, allocations: 24.36 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.00621, allocations: 149.1 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.006243, allocations: 59.34 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.246e-05/0.006255, allocations: 0 / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.006278, allocations: 12.5 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006279, allocations: 0 / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Templates: time 0.001901/0.00818, allocations: 0.52 MB / 278.5 MB, free: 11.55 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.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.659302002284676]