Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001257/0.001257, allocations: 92.59 kB / 20.96 MB, free: 480 kB / 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.001499/0.001499, allocations: 158.9 kB / 24.25 MB, free: 3.547 MB / 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.329/1.329, allocations: 173.3 MB / 200.8 MB, free: 12.77 MB / 190.1 MB " [Timeout remaining time 179] 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.359e-05, allocations: 6.25 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002739/0.002763, allocations: 1.698 MB / 269 MB, free: 8.516 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004123/0.003175, allocations: 155.4 kB / 269.2 MB, free: 8.363 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.003259, allocations: 7.938 kB / 269.2 MB, free: 8.355 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.891e-05/0.003308, allocations: 3.938 kB / 269.2 MB, free: 8.352 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.003448, allocations: 15.86 kB / 269.2 MB, free: 8.336 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.003676, allocations: 51.77 kB / 269.2 MB, free: 8.285 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.003793, allocations: 63.78 kB / 269.3 MB, free: 8.223 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.003899, allocations: 19.98 kB / 269.3 MB, free: 8.203 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.003955, allocations: 31.91 kB / 269.4 MB, free: 8.172 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.004002, allocations: 19.91 kB / 269.4 MB, free: 8.152 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.004027, allocations: 4 kB / 269.4 MB, free: 8.148 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.00404, allocations: 4 kB / 269.4 MB, free: 8.145 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 4.337e-05/0.004083, allocations: 15.94 kB / 269.4 MB, free: 8.129 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.00412, allocations: 19.91 kB / 269.4 MB, free: 8.109 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.004245, allocations: 71.72 kB / 269.5 MB, free: 8.039 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.004247, allocations: 0 / 269.5 MB, free: 8.039 MB / 254.1 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004248, allocations: 4 kB / 269.5 MB, free: 8.035 MB / 254.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004251, allocations: 0 / 269.5 MB, free: 8.035 MB / 254.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.0004384/0.004689, allocations: 313.9 kB / 269.8 MB, free: 7.695 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.004721, allocations: 8.922 kB / 269.8 MB, free: 7.688 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.004769, allocations: 16.84 kB / 269.8 MB, free: 7.672 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.004988, allocations: 141.6 kB / 270 MB, free: 7.508 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.004999, allocations: 4.375 kB / 270 MB, free: 7.504 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.005013, allocations: 4.375 kB / 270 MB, free: 7.5 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.005358, allocations: 182.2 kB / 270.2 MB, free: 7.301 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.005365, allocations: 192 / 270.2 MB, free: 7.301 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.005374, allocations: 384 / 270.2 MB, free: 7.301 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.00538, allocations: 4.375 kB / 270.2 MB, free: 7.297 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.005489, allocations: 43.84 kB / 270.2 MB, free: 7.254 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.005828, allocations: 297.6 kB / 270.5 MB, free: 6.926 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.006064, allocations: 111.9 kB / 270.6 MB, free: 6.789 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.006167, allocations: 58.61 kB / 270.7 MB, free: 6.723 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.00619, allocations: 4 kB / 270.7 MB, free: 6.719 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.006218, allocations: 34.56 kB / 270.7 MB, free: 6.676 MB / 254.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.006219, allocations: 0 / 270.7 MB, free: 6.676 MB / 254.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003224/0.006542, allocations: 129.4 kB / 270.8 MB, free: 6.543 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.006622, allocations: 110.8 kB / 270.9 MB, free: 6.41 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.006747, allocations: 136.3 kB / 271.1 MB, free: 6.27 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.006769, allocations: 33.7 kB / 271.1 MB, free: 6.23 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.006824, allocations: 92.28 kB / 271.2 MB, free: 6.137 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.006839, allocations: 7.938 kB / 271.2 MB, free: 6.129 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.006872, allocations: 17.72 kB / 271.2 MB, free: 6.105 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.007005, allocations: 318.8 kB / 271.5 MB, free: 5.785 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.007042, allocations: 7.938 kB / 271.5 MB, free: 5.777 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.007084, allocations: 21.7 kB / 271.5 MB, free: 5.75 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.884e-05/0.007152, allocations: 33.72 kB / 271.6 MB, free: 5.711 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.007157, allocations: 3.984 kB / 271.6 MB, free: 5.707 MB / 254.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001084/0.007266, allocations: 49.64 kB / 271.6 MB, free: 5.652 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.007281, allocations: 11.94 kB / 271.6 MB, free: 5.641 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.007285, allocations: 0 / 271.6 MB, free: 5.641 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.007297, allocations: 0 / 271.6 MB, free: 5.641 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.007335, allocations: 11.94 kB / 271.7 MB, free: 5.629 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.007339, allocations: 0 / 271.7 MB, free: 5.629 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.928e-05/0.007368, allocations: 7.984 kB / 271.7 MB, free: 5.621 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.007372, allocations: 4.062 kB / 271.7 MB, free: 5.617 MB / 254.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.489e-05/0.007467, allocations: 117.8 kB / 271.8 MB, free: 5.492 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.007611, allocations: 77.58 kB / 271.9 MB, free: 5.41 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.007647, allocations: 16.78 kB / 271.9 MB, free: 5.391 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007649, allocations: 0 / 271.9 MB, free: 5.391 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.007652, allocations: 0 / 271.9 MB, free: 5.391 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.007659, allocations: 7.984 kB / 271.9 MB, free: 5.383 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.007855, allocations: 121.3 kB / 272 MB, free: 5.234 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007856, allocations: 0 / 272 MB, free: 5.234 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.007936, allocations: 23.92 kB / 272 MB, free: 5.211 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.007939, allocations: 7.984 kB / 272 MB, free: 5.203 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.007949, allocations: 3.938 kB / 272 MB, free: 5.199 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.007952, allocations: 4 kB / 272 MB, free: 5.195 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007953, allocations: 0 / 272 MB, free: 5.195 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.00831, allocations: 316.2 kB / 272.4 MB, free: 4.863 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.008352, allocations: 23.88 kB / 272.4 MB, free: 4.84 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.008368, allocations: 4 kB / 272.4 MB, free: 4.836 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.008463, allocations: 4 kB / 272.4 MB, free: 4.832 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.008488, allocations: 4 kB / 272.4 MB, free: 4.828 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.008495, allocations: 7.938 kB / 272.4 MB, free: 4.82 MB / 254.1 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.00857, allocations: 110.1 kB / 272.5 MB, free: 4.715 MB / 254.1 MB Notification: Performance of sort global known variables: time 6e-08/0.00857, allocations: 0 / 272.5 MB, free: 4.715 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.008827, allocations: 12 kB / 272.5 MB, free: 4.703 MB / 254.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 8.102e-05/0.008908, allocations: 95.25 kB / 272.6 MB, free: 4.602 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.00906, allocations: 39.91 kB / 272.6 MB, free: 4.562 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009062, allocations: 3.938 kB / 272.6 MB, free: 4.559 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.009097, allocations: 12.12 kB / 272.7 MB, free: 4.547 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.009518, allocations: 42.2 kB / 272.7 MB, free: 4.504 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.009897, allocations: 208.6 kB / 272.9 MB, free: 4.262 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.732e-05/0.009994, allocations: 95.2 kB / 273 MB, free: 4.148 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 2.094e-05/0.01001, allocations: 0 / 273 MB, free: 4.148 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.01004, allocations: 12.5 kB / 273 MB, free: 4.137 MB / 254.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01004, allocations: 4.062 kB / 273 MB, free: 4.133 MB / 254.1 MB Notification: Performance of Templates: time 0.003145/0.01319, allocations: 0.6929 MB / 273.7 MB, free: 3.453 MB / 254.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 3.647282548248768]