Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001347/0.001347, allocations: 84.94 kB / 20.68 MB, free: 1.023 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.001549/0.001549, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.451/1.451, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.649e-05, allocations: 3.344 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002623/0.00265, allocations: 1.488 MB / 326.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002004/0.00285, allocations: 28.81 kB / 326.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.002913, allocations: 1.375 kB / 326.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.002943, allocations: 4.641 kB / 326.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.002984, allocations: 13.09 kB / 326.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.003233, allocations: 27.83 kB / 326.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.695e-05/0.00333, allocations: 26.16 kB / 326.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.003457, allocations: 5.328 kB / 326.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.003527, allocations: 16.95 kB / 326.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.003572, allocations: 10.48 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.003598, allocations: 2.781 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.003608, allocations: 2.594 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.003631, allocations: 10.64 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.003665, allocations: 7.969 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.00377, allocations: 38 kB / 326.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003772, allocations: 0 / 326.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003773, allocations: 0 / 326.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.003778, allocations: 1.094 kB / 326.8 MB, free: 15.41 MB / 302.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.0004762/0.004254, allocations: 265.7 kB / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.004291, allocations: 9.844 kB / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.004324, allocations: 6.266 kB / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.004509, allocations: 120 kB / 327.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.004532, allocations: 2.875 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.004547, allocations: 1.75 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.004953, allocations: 125.7 kB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.004963, allocations: 192 / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004972, allocations: 1.562 kB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.004976, allocations: 384 / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.005105, allocations: 34.05 kB / 327.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.005247, allocations: 112.5 kB / 327.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.00544, allocations: 52.8 kB / 327.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.902e-05/0.005529, allocations: 25.89 kB / 327.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.005543, allocations: 5.125 kB / 327.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.005584, allocations: 32.48 kB / 327.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.005585, allocations: 0 / 327.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003237/0.005908, allocations: 88.52 kB / 327.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.005972, allocations: 54.62 kB / 327.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.006076, allocations: 107.5 kB / 327.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.0061, allocations: 25.7 kB / 327.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.006153, allocations: 87.02 kB / 327.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.006166, allocations: 0.6562 kB / 327.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.006196, allocations: 13.55 kB / 327.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.006369, allocations: 317.5 kB / 328.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.006381, allocations: 6.344 kB / 328.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.006389, allocations: 1.734 kB / 328.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.006422, allocations: 17.88 kB / 328.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006424, allocations: 0 / 328.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.489e-05/0.006498, allocations: 43.7 kB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.006513, allocations: 5.281 kB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006517, allocations: 0 / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.006532, allocations: 1.219 kB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.006588, allocations: 3.031 kB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.006594, allocations: 5.094 kB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.00661, allocations: 4.594 kB / 328.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-06/0.006613, allocations: 1.094 kB / 328.3 MB, free: 13.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.69e-05/0.0067, allocations: 113.8 kB / 328.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.00686, allocations: 63.67 kB / 328.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.006888, allocations: 5.969 kB / 328.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.00689, allocations: 5.375 kB / 328.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.006895, allocations: 4.875 kB / 328.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.0069, allocations: 3.938 kB / 328.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.007034, allocations: 107.9 kB / 328.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007035, allocations: 4 kB / 328.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.007095, allocations: 10.62 kB / 328.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.007098, allocations: 1.125 kB / 328.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.007105, allocations: 1.188 kB / 328.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007107, allocations: 0 / 328.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007109, allocations: 0.8906 kB / 328.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.007312, allocations: 100.7 kB / 328.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.00732, allocations: 2.125 kB / 328.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.007336, allocations: 2.125 kB / 328.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.007369, allocations: 3.422 kB / 328.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-06/0.007372, allocations: 0 / 328.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.007377, allocations: 6.703 kB / 328.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.43e-05/0.007442, allocations: 89.14 kB / 328.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.007442, allocations: 1 kB / 328.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001826/0.007624, allocations: 6.719 kB / 328.8 MB, free: 13.48 MB / 302.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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001295/0.007754, allocations: 104.1 kB / 328.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.007891, allocations: 23.64 kB / 328.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007893, allocations: 0 / 328.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.007893, allocations: 0 / 328.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.00818, allocations: 28.59 kB / 329 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.00852, allocations: 122.9 kB / 329.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.719e-05/0.008587, allocations: 64.02 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.838e-05/0.008606, allocations: 0.7031 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.008635, allocations: 11.19 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 6.52e-07/0.008635, allocations: 0 / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Templates: time 0.003138/0.01177, allocations: 449.7 kB / 329.6 MB, free: 13.1 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.309640217572451]