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.001404/0.001404, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.00106/0.00106, allocations: 174.8 kB / 24.91 MB, free: 8.73 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.5 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 1.864e-06/1.864e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.583e-05, allocations: 6.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003279/0.003305, allocations: 1.533 MB / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002988/0.003604, allocations: 107.5 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.003675, allocations: 4 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.003705, allocations: 3.938 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.003746, allocations: 4 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.003989, allocations: 27.91 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.713e-05/0.004076, allocations: 23.86 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.424e-05/0.00416, allocations: 8 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.004214, allocations: 19.97 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.004254, allocations: 3.984 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.004274, allocations: 4 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.004281, allocations: 0 / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.004301, allocations: 11.94 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.00432, allocations: 4 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.249e-05/0.004402, allocations: 27.84 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004405, allocations: 4 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004406, allocations: 0 / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.00441, allocations: 0 / 275.3 MB, free: 15.47 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.0003081/0.004718, allocations: 244.9 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.004755, allocations: 8.031 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.004785, allocations: 4.938 kB / 275.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.004944, allocations: 121.7 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.004954, allocations: 4.359 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.004964, allocations: 4.375 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.005155, allocations: 108.5 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005163, allocations: 192 / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.005169, allocations: 384 / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.005175, allocations: 384 / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.005197, allocations: 7.938 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.678e-05/0.005274, allocations: 57.05 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.005343, allocations: 30.5 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.005365, allocations: 12.86 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.005378, allocations: 4 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.005403, allocations: 38.55 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.005405, allocations: 0 / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001129/0.005517, allocations: 41.69 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.005553, allocations: 55.41 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.005621, allocations: 114.6 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.005633, allocations: 29.7 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.00566, allocations: 80.14 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.005662, allocations: 0 / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.005688, allocations: 17.7 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.005776, allocations: 318.8 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-06/0.005779, allocations: 3.938 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-06/0.005783, allocations: 0 / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.116e-05/0.005804, allocations: 79.28 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/0.005826, allocations: 75.28 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.538e-05/0.005881, allocations: 33.69 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.005912, allocations: 79.28 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.005939, allocations: 79.22 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.326e-05/0.005992, allocations: 154.6 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.275e-05/0.006015, allocations: 79.22 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.181e-05/0.006057, allocations: 150.6 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.006119, allocations: 79.53 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.006146, allocations: 91.2 kB / 277.4 MB, free: 13.14 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 7.942e-05/0.006226, allocations: 189.1 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.00628, allocations: 37.69 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.006301, allocations: 8 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006303, allocations: 0 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.006305, allocations: 240 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006307, allocations: 0 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.632e-05/0.006374, allocations: 77.77 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.006378, allocations: 3.984 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.006448, allocations: 15.98 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.006451, allocations: 0 / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-06/0.006455, allocations: 0 / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.006457, allocations: 3.938 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.006458, allocations: 0 / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.71e-05/0.006505, allocations: 53.08 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.006518, allocations: 11.94 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006528, allocations: 0 / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.006542, allocations: 0 / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-06/0.006547, allocations: 4 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.006552, allocations: 0 / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.698e-05/0.006569, allocations: 16.86 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006569, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.006752, allocations: 0 / 277.8 MB, free: 12.67 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.000102/0.006854, allocations: 80.41 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.415e-05/0.006898, allocations: 15.94 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.006901, allocations: 3.938 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.006902, allocations: 0 / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.007025, allocations: 17.06 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.007259, allocations: 110.5 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.007295, allocations: 63.34 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.058e-05/0.007306, allocations: 4 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.007342, allocations: 47.38 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007342, allocations: 0 / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of Templates: time 0.002016/0.009358, allocations: 320.9 kB / 278.5 MB, free: 11.97 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 -s gbode -gbm=radauIIA3 -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.4738844628445804]