Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 51.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3442, allocations: 52.13 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003198/0.3474, allocations: 1.575 MB / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004289/0.3478, allocations: 143.5 kB / 422.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.3479, allocations: 0 / 422.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.3479, allocations: 7.938 kB / 422.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3481, allocations: 11.92 kB / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.3483, allocations: 35.84 kB / 422.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.068e-05/0.3484, allocations: 35.92 kB / 422.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.287e-05/0.3485, allocations: 19.91 kB / 422.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.3485, allocations: 7.938 kB / 422.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.3485, allocations: 15.92 kB / 422.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3485, allocations: 0 / 422.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.3486, allocations: 4 kB / 422.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.3486, allocations: 15.92 kB / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.3486, allocations: 27.81 kB / 422.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3488, allocations: 49.02 kB / 422.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3488, allocations: 0 / 422.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3488, allocations: 0 / 422.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3488, allocations: 0 / 422.8 MB, free: 13.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004432/0.3492, allocations: 367.2 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3492, allocations: 12.03 kB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.3493, allocations: 8.891 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.3495, allocations: 196.2 kB / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-06/0.3495, allocations: 4.312 kB / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3496, allocations: 4.375 kB / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3498, allocations: 117.6 kB / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3498, allocations: 192 / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.3498, allocations: 11.94 kB / 423.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.3498, allocations: 0 / 423.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.031e-05/0.3499, allocations: 23.92 kB / 423.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.3502, allocations: 265.7 kB / 423.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3504, allocations: 142.2 kB / 423.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.3504, allocations: 29.77 kB / 424 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3504, allocations: 0 / 424 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3505, allocations: 34.56 kB / 424 MB, free: 11.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3505, allocations: 0 / 424 MB, free: 11.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000228/0.3507, allocations: 81.56 kB / 424.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.3508, allocations: 81.09 kB / 424.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3509, allocations: 138 kB / 424.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3509, allocations: 25.7 kB / 424.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.3509, allocations: 84.14 kB / 424.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.351, allocations: 4 kB / 424.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.351, allocations: 21.67 kB / 424.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3511, allocations: 319 kB / 424.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.3512, allocations: 12 kB / 424.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.3512, allocations: 35.36 kB / 424.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.3513, allocations: 43.42 kB / 424.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3513, allocations: 0 / 424.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.3514, allocations: 77.48 kB / 424.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3514, allocations: 7.125 kB / 424.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3515, allocations: 4 kB / 424.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.3515, allocations: 0 / 424.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.3515, allocations: 8 kB / 424.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.3515, allocations: 4.125 kB / 424.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.3515, allocations: 7.984 kB / 424.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.3515, allocations: 0 / 424.9 MB, free: 10.76 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: 0 () * 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.902e-05/0.3516, allocations: 125.7 kB / 425.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.3517, allocations: 49.58 kB / 425.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.3517, allocations: 12.25 kB / 425.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3517, allocations: 3.938 kB / 425.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3517, allocations: 4 kB / 425.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3517, allocations: 0 / 425.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.3519, allocations: 169.6 kB / 425.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3519, allocations: 0 / 425.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.352, allocations: 12.31 kB / 425.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.352, allocations: 0 / 425.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.352, allocations: 7.938 kB / 425.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.352, allocations: 4 kB / 425.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.352, allocations: 0 / 425.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3522, allocations: 176.2 kB / 425.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.3523, allocations: 93.05 kB / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3523, allocations: 4 kB / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.3523, allocations: 0 / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.3523, allocations: 4 kB / 425.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.3523, allocations: 0 / 425.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.178e-05/0.3524, allocations: 109.9 kB / 425.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3524, allocations: 0 / 425.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.3526, allocations: 4 kB / 425.7 MB, free: 9.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 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.00015/0.3528, allocations: 100 kB / 425.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.3529, allocations: 27.92 kB / 425.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.3529, allocations: 0 / 425.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.353, allocations: 11.98 kB / 425.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3533, allocations: 31.83 kB / 425.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.3537, allocations: 154.7 kB / 426 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.3541, allocations: 0.6922 MB / 426.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.3541, allocations: 8 kB / 426.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3541, allocations: 7.438 kB / 426.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3541, allocations: 0 / 426.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of Templates: time 0.003318/0.3575, allocations: 0.5003 MB / 427.2 MB, free: 8.297 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.951108722947538]