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.0009105/0.0009105, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009523/0.0009523, 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 0.9211/0.9211, allocations: 177.1 MB / 205 MB, free: 5.59 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.703e-06/1.703e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.899e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001862/0.001881, allocations: 1.5 MB / 274.5 MB, free: 8 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.002207, allocations: 103.6 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.002269, allocations: 0 / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.002298, allocations: 3.938 kB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.002338, allocations: 7.875 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.002572, allocations: 23.97 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.002649, allocations: 23.92 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.893e-05/0.002738, allocations: 12 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.002782, allocations: 19.91 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.394e-05/0.002816, allocations: 4 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.002836, allocations: 0 / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.002844, allocations: 4 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.002863, allocations: 7.984 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.002888, allocations: 11.88 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.663e-05/0.002964, allocations: 27.91 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.002966, allocations: 0 / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.002968, allocations: 0 / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.002972, allocations: 0 / 274.7 MB, free: 15.76 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.000325/0.003297, allocations: 364.6 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.003331, allocations: 8.031 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.00337, allocations: 8.891 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.003502, allocations: 120.6 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.003509, allocations: 384 / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.003518, allocations: 4.375 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.003726, allocations: 106.2 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.003732, allocations: 12.12 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.00374, allocations: 384 / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.003746, allocations: 4.312 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.003771, allocations: 11.94 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.376e-05/0.003865, allocations: 116.6 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.003942, allocations: 47.03 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.003971, allocations: 15.72 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.003986, allocations: 4 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.004006, allocations: 37.39 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.004007, allocations: 0 / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001249/0.004132, allocations: 57.67 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.004168, allocations: 51.41 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.004237, allocations: 169.9 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.004246, allocations: 29.7 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.004284, allocations: 134.9 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.004286, allocations: 0 / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.004305, allocations: 15.38 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.004533, allocations: 496.1 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-06/0.004538, allocations: 4 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-06/0.004541, allocations: 256 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.004567, allocations: 119.2 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-05/0.004592, allocations: 131.1 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.219e-05/0.004624, allocations: 29.7 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.004656, allocations: 123.2 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.004683, allocations: 123.2 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.744e-05/0.004741, allocations: 246.3 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.004764, allocations: 119.2 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.948e-05/0.004814, allocations: 242.3 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.004866, allocations: 131.1 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.004891, allocations: 119.2 kB / 277.8 MB, free: 12.41 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.979e-05/0.004971, allocations: 271.8 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.005027, allocations: 57.58 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.005053, allocations: 12 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005054, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.005057, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.005064, allocations: 7.922 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.701e-05/0.005121, allocations: 116.5 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.005124, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.841e-05/0.005192, allocations: 11.98 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.005196, allocations: 0 / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.005202, allocations: 0 / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.005204, allocations: 0 / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005205, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.355e-05/0.005278, allocations: 96.27 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.005285, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.005295, allocations: 4 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-06/0.005304, allocations: 0 / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-06/0.005307, allocations: 0 / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.005311, allocations: 288 / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.401e-05/0.005345, allocations: 127.2 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005346, allocations: 0 / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.00548, allocations: 8 kB / 278.5 MB, free: 11.63 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 7.274e-05/0.005553, allocations: 103.4 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.379e-05/0.005597, allocations: 4 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.005598, allocations: 0 / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.005599, allocations: 0 / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.005765, allocations: 29.06 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.005977, allocations: 113.2 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.136e-05/0.006008, allocations: 59.34 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.718e-06/0.006018, allocations: 0 / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.006041, allocations: 8.5 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.006041, allocations: 8 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.001613/0.007654, allocations: 305 kB / 279.2 MB, free: 10.95 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.642270978074521]