Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001816/0.001816, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00233/0.00233, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2439, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002804/0.2467, allocations: 1.551 MB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004005/0.2471, allocations: 131.5 kB / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.2471, allocations: 11.94 kB / 434 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.671e-05/0.2472, allocations: 7.922 kB / 434 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.2473, allocations: 11.92 kB / 434.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.2475, allocations: 35.91 kB / 434.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.2476, allocations: 31.86 kB / 434.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.2477, allocations: 11.98 kB / 434.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.2477, allocations: 15.92 kB / 434.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.2478, allocations: 15.88 kB / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2478, allocations: 4 kB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.2478, allocations: 4 kB / 434.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2479, allocations: 19.92 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.248, allocations: 19.81 kB / 434.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2481, allocations: 47.47 kB / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2481, allocations: 0 / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2481, allocations: 0 / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2481, allocations: 0 / 434.3 MB, free: 4.777 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.0004614/0.2486, allocations: 297.1 kB / 434.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2486, allocations: 12.03 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.2486, allocations: 4.891 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2489, allocations: 145 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2489, allocations: 4.375 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.2489, allocations: 4.312 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.2492, allocations: 121.6 kB / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2492, allocations: 192 / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2492, allocations: 7.938 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2492, allocations: 0 / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.2493, allocations: 19.98 kB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.2496, allocations: 209.4 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.2498, allocations: 53.2 kB / 435.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/0.2498, allocations: 29.7 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2499, allocations: 7.938 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2499, allocations: 34.56 kB / 435.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2499, allocations: 0 / 435.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002947/0.2502, allocations: 81.66 kB / 435.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.2503, allocations: 85.28 kB / 435.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2505, allocations: 134 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2505, allocations: 25.7 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.2505, allocations: 88.14 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.2505, allocations: 3.953 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.2506, allocations: 17.72 kB / 435.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2507, allocations: 318.8 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.2508, allocations: 8 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.2508, allocations: 39.41 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.2509, allocations: 47.39 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2509, allocations: 0 / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000143/0.2511, allocations: 73.48 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2511, allocations: 4 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2511, allocations: 128 / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2511, allocations: 8 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.2512, allocations: 12 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2512, allocations: 0 / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.2512, allocations: 11.94 kB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2512, allocations: 0 / 436.1 MB, free: 2.68 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 9.188e-05/0.2513, allocations: 113.8 kB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.2514, allocations: 53.56 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.2514, allocations: 16.28 kB / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2514, allocations: 0 / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2514, allocations: 4 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2514, allocations: 4 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.2516, allocations: 113.3 kB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2516, allocations: 0 / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.2516, allocations: 11.98 kB / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2516, allocations: 3.938 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2516, allocations: 0 / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2516, allocations: 0 / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2516, allocations: 4 kB / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.2518, allocations: 164.3 kB / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.2519, allocations: 23.92 kB / 436.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2519, allocations: 0 / 436.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.252, allocations: 8 kB / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.252, allocations: 0 / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.252, allocations: 0 / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.384e-05/0.2521, allocations: 110.6 kB / 436.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2521, allocations: 0 / 436.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.2523, allocations: 8 kB / 436.7 MB, free: 1.984 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 9.104e-05/0.2524, allocations: 99.19 kB / 436.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.2525, allocations: 31.92 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2525, allocations: 0 / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.2526, allocations: 11.98 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.2529, allocations: 22.53 kB / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.2532, allocations: 154.3 kB / 437.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.903e-05/0.2533, allocations: 79.33 kB / 437.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.2533, allocations: 4.312 kB / 437.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.2534, allocations: 15.42 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2534, allocations: 0 / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of Templates: time 0.003132/0.2565, allocations: 0.5543 MB / 437.7 MB, free: 0.9727 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.249233501002891]