Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.00104/0.00104, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001326/0.001326, allocations: 166.3 kB / 24.82 MB, free: 9.312 MB / 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 0.9993/0.9993, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.312e-06, allocations: 4 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.437e-05, allocations: 2.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003071/0.003105, allocations: 1.482 MB / 274.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003254/0.00343, allocations: 107.5 kB / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.003502, allocations: 0 / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.003533, allocations: 3.938 kB / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.003587, allocations: 7.938 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.003843, allocations: 19.92 kB / 275 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.32e-05/0.003926, allocations: 35.91 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.004024, allocations: 4 kB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.004087, allocations: 11.98 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.004134, allocations: 11.92 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.004156, allocations: 4 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.004165, allocations: 0 / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.004188, allocations: 4 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.00421, allocations: 11.92 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.784e-05/0.004308, allocations: 23.92 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.00431, allocations: 0 / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004311, allocations: 0 / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.004316, allocations: 4 kB / 275.1 MB, free: 15.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003987/0.004714, allocations: 368.6 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.004765, allocations: 12.03 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.0048, allocations: 4.891 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.004951, allocations: 116.6 kB / 275.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.004967, allocations: 12.36 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-06/0.004976, allocations: 4.359 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.005194, allocations: 106.2 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.005202, allocations: 192 / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.005209, allocations: 384 / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.005216, allocations: 4.375 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/0.005238, allocations: 11.86 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.68e-05/0.005334, allocations: 97.22 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.791e-05/0.005412, allocations: 46.98 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.00544, allocations: 15.7 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.005474, allocations: 8 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.005508, allocations: 33.39 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.634e-06/0.00551, allocations: 4 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001587/0.005669, allocations: 53.67 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.005713, allocations: 51.41 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.005822, allocations: 169.9 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.005835, allocations: 25.7 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.00589, allocations: 130.9 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.005895, allocations: 3.984 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.005923, allocations: 19.38 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.006094, allocations: 496.1 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.006098, allocations: 0 / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.006102, allocations: 4 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.006147, allocations: 123.2 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-05/0.006187, allocations: 119.2 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.298e-05/0.00625, allocations: 25.7 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/0.006314, allocations: 131.1 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.723e-05/0.006371, allocations: 119.2 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.01e-05/0.006461, allocations: 246.4 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.006504, allocations: 127.1 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-05/0.006581, allocations: 238.4 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.761e-05/0.006669, allocations: 123.1 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/0.006744, allocations: 131.1 kB / 278.2 MB, free: 12.25 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: 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 0.0001323/0.006876, allocations: 275.8 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.006972, allocations: 49.64 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.007008, allocations: 4.234 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.007012, allocations: 0 / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.007014, allocations: 0 / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.00702, allocations: 3.984 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.007126, allocations: 109.1 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.007131, allocations: 3.938 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.007233, allocations: 8 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.007237, allocations: 3.938 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.007242, allocations: 4 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.007245, allocations: 0 / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007247, allocations: 0 / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.08e-05/0.007317, allocations: 72.38 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.007331, allocations: 3.953 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.007342, allocations: 0 / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.706e-05/0.007369, allocations: 4 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-06/0.007372, allocations: 0 / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.007378, allocations: 256 / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.043e-05/0.007438, allocations: 135.2 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007438, allocations: 0 / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.007692, allocations: 8 kB / 278.9 MB, free: 11.52 MB / 266.7 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.0001346/0.007826, allocations: 95.19 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.728e-05/0.007884, allocations: 8 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.007886, allocations: 0 / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.007887, allocations: 0 / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.008133, allocations: 24.34 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.008454, allocations: 113.1 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.416e-05/0.008508, allocations: 67.28 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.116e-05/0.00852, allocations: 4 kB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.008575, allocations: 70.2 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of SimCode: time 1.312e-06/0.008576, allocations: 0 / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of Templates: time 0.002222/0.0108, allocations: 319 kB / 279.6 MB, free: 10.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.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.658226781990379]