Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001932/0.001932, allocations: 85.23 kB / 20.68 MB, free: 1.035 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.002322/0.002322, allocations: 165.6 kB / 23.95 MB, free: 4.168 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.584/1.584, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 3.938 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.67e-05, allocations: 5.516 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003753/0.00379, allocations: 1.702 MB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005034/0.004293, allocations: 167 kB / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.004379, allocations: 6.125 kB / 327 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.054e-05/0.004429, allocations: 5.531 kB / 327 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.004559, allocations: 12.06 kB / 327 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.004817, allocations: 52.14 kB / 327 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.004943, allocations: 56.41 kB / 327.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.005065, allocations: 24.73 kB / 327.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.005132, allocations: 28.58 kB / 327.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.005189, allocations: 18.44 kB / 327.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.005212, allocations: 4.219 kB / 327.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.005227, allocations: 5.625 kB / 327.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.005278, allocations: 19.17 kB / 327.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.005308, allocations: 16.66 kB / 327.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.005469, allocations: 72.44 kB / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.005473, allocations: 1.281 kB / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.005474, allocations: 0 / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005478, allocations: 4 kB / 327.3 MB, free: 15.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005279/0.006006, allocations: 313.1 kB / 327.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.006048, allocations: 9.156 kB / 327.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.006088, allocations: 13.95 kB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.006313, allocations: 136.5 kB / 327.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.006324, allocations: 3.156 kB / 327.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.006338, allocations: 8.531 kB / 327.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.006724, allocations: 166.7 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.006733, allocations: 2.281 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.006743, allocations: 1.594 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.006748, allocations: 1.5 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.006864, allocations: 42.97 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.007247, allocations: 304.4 kB / 328.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.007506, allocations: 111.5 kB / 328.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.007617, allocations: 53.31 kB / 328.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.007643, allocations: 10.69 kB / 328.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.007683, allocations: 37.3 kB / 328.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.007684, allocations: 0 / 328.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003567/0.008041, allocations: 122.9 kB / 328.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.008135, allocations: 114.7 kB / 328.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.008271, allocations: 138.3 kB / 328.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.00829, allocations: 25.95 kB / 328.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.008352, allocations: 91.84 kB / 328.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.008368, allocations: 5.609 kB / 328.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.008403, allocations: 17.59 kB / 329 MB, free: 13.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.00855, allocations: 314.8 kB / 329.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.008592, allocations: 14.28 kB / 329.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.008633, allocations: 17.97 kB / 329.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.868e-05/0.008712, allocations: 29.17 kB / 329.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008714, allocations: 4.062 kB / 329.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001242/0.008838, allocations: 62.06 kB / 329.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.008853, allocations: 9.406 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.008857, allocations: 5.125 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.00887, allocations: 1.469 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.632e-05/0.008907, allocations: 5.484 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.008911, allocations: 0.7031 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.008938, allocations: 3.266 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.008944, allocations: 5.312 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.062e-05/0.009034, allocations: 117.7 kB / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.00917, allocations: 83.67 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.009216, allocations: 14.27 kB / 329.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.009219, allocations: 1.25 kB / 329.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.009224, allocations: 1.25 kB / 329.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.009228, allocations: 1.812 kB / 329.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.009429, allocations: 123.4 kB / 329.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009431, allocations: 1.094 kB / 329.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.009506, allocations: 17.78 kB / 329.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.009509, allocations: 5.938 kB / 329.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.009522, allocations: 9.625 kB / 329.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.009525, allocations: 1.719 kB / 329.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.009528, allocations: 5.094 kB / 329.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.009938, allocations: 305.6 kB / 330.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.009989, allocations: 23.03 kB / 330.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.01001, allocations: 2.031 kB / 330.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.0101, allocations: 3.266 kB / 330.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.01014, allocations: 10.61 kB / 330.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.01014, allocations: 8.031 kB / 330.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.01029, allocations: 109.3 kB / 330.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01029, allocations: 3.938 kB / 330.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.01055, allocations: 7.359 kB / 330.3 MB, free: 12.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001209/0.01067, allocations: 94.69 kB / 330.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.01084, allocations: 43.44 kB / 330.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01084, allocations: 1.344 kB / 330.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/0.0109, allocations: 16.47 kB / 330.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.01135, allocations: 42.25 kB / 330.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.01177, allocations: 201 kB / 330.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.01188, allocations: 89.98 kB / 330.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.643e-05/0.0119, allocations: 7.812 kB / 330.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.01193, allocations: 11.09 kB / 330.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01193, allocations: 4.125 kB / 330.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Templates: time 0.003791/0.01572, allocations: 0.6846 MB / 331.4 MB, free: 11.97 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.554505381733179]