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.001822/0.001822, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002285/0.002285, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.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 0.001667/0.001667, allocations: 43.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2801, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002986/0.283, allocations: 1.458 MB / 433 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003178/0.2834, allocations: 95.67 kB / 433.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.2834, allocations: 3.938 kB / 433.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.2835, allocations: 4 kB / 433.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.2835, allocations: 3.938 kB / 433.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2838, allocations: 27.91 kB / 433.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.185e-05/0.2838, allocations: 31.86 kB / 433.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.284, allocations: 4 kB / 433.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.284, allocations: 19.86 kB / 433.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.284, allocations: 11.94 kB / 433.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2841, allocations: 0 / 433.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2841, allocations: 4 kB / 433.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.2841, allocations: 0 / 433.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.2841, allocations: 15.92 kB / 433.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.2842, allocations: 30.42 kB / 433.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2842, allocations: 0 / 433.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2842, allocations: 0 / 433.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2842, allocations: 4 kB / 433.3 MB, free: 5.004 MB / 334.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.0004506/0.2847, allocations: 270 kB / 433.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2847, allocations: 8.031 kB / 433.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.2848, allocations: 4.891 kB / 433.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.285, allocations: 122.4 kB / 433.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.285, allocations: 4.375 kB / 433.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.285, allocations: 4.375 kB / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.2853, allocations: 115.8 kB / 433.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2854, allocations: 4.172 kB / 433.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2854, allocations: 11.88 kB / 433.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2854, allocations: 0 / 433.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.297e-05/0.2855, allocations: 15.98 kB / 433.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.2856, allocations: 105.3 kB / 433.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.2858, allocations: 54.48 kB / 434 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.2858, allocations: 28.92 kB / 434 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2859, allocations: 0 / 434 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2859, allocations: 30.56 kB / 434 MB, free: 4.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.2859, allocations: 0 / 434 MB, free: 4.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002311/0.2861, allocations: 73.61 kB / 434.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.2862, allocations: 55.39 kB / 434.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.2863, allocations: 109.8 kB / 434.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2863, allocations: 25.7 kB / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.2864, allocations: 84.12 kB / 434.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.143e-06/0.2864, allocations: 8 kB / 434.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.2864, allocations: 17.72 kB / 434.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2865, allocations: 314.8 kB / 434.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.2866, allocations: 4.25 kB / 434.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.2866, allocations: 27.42 kB / 434.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.2866, allocations: 39.38 kB / 434.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2866, allocations: 0 / 434.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.2867, allocations: 61.58 kB / 434.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2868, allocations: 4 kB / 434.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2868, allocations: 3.938 kB / 434.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2868, allocations: 7.938 kB / 434.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/0.2868, allocations: 4 kB / 434.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2868, allocations: 7.938 kB / 434.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.2869, allocations: 4 kB / 434.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2869, allocations: 0 / 434.9 MB, free: 3.207 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.882e-05/0.287, allocations: 114 kB / 435 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.2871, allocations: 61.69 kB / 435 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.2871, allocations: 4 kB / 435 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2871, allocations: 3.938 kB / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2871, allocations: 0 / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2871, allocations: 0 / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.128e-05/0.2872, allocations: 105.3 kB / 435.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2872, allocations: 4.266 kB / 435.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.2873, allocations: 11.98 kB / 435.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2873, allocations: 0 / 435.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-06/0.2873, allocations: 3.938 kB / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2873, allocations: 8 kB / 435.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2873, allocations: 3.938 kB / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.2874, allocations: 89.05 kB / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.2874, allocations: 0 / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2874, allocations: 4 kB / 435.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.2875, allocations: 0 / 435.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-06/0.2875, allocations: 3.938 kB / 435.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.2875, allocations: 4 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.2875, allocations: 91.27 kB / 435.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2875, allocations: 0 / 435.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001885/0.2877, allocations: 8 kB / 435.4 MB, free: 2.625 MB / 334.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.0001132/0.2878, allocations: 95.25 kB / 435.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.288, allocations: 27.92 kB / 435.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.288, allocations: 0 / 435.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.288, allocations: 0 / 435.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.2882, allocations: 27.86 kB / 435.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.2885, allocations: 117.8 kB / 435.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.562e-05/0.2885, allocations: 71.34 kB / 435.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.424e-05/0.2885, allocations: 0 / 435.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.2886, allocations: 7.438 kB / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2886, allocations: 0 / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of Templates: time 0.002757/0.2913, allocations: 357.4 kB / 436.1 MB, free: 1.887 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.452684015966952]