Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001938/0.001938, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.003079/0.003079, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 47.92 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2707, allocations: 53.36 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003957/0.2746, allocations: 1.594 MB / 433.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2759, allocations: 0.4948 MB / 433.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.276, allocations: 3.938 kB / 433.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.622e-05/0.2761, allocations: 3.938 kB / 433.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.2763, allocations: 19.86 kB / 433.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.2767, allocations: 51.83 kB / 433.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.2768, allocations: 47.84 kB / 433.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2769, allocations: 11.98 kB / 433.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.2771, allocations: 31.86 kB / 433.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.2772, allocations: 19.86 kB / 433.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2772, allocations: 4 kB / 433.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.2772, allocations: 4 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.2773, allocations: 11.98 kB / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.2773, allocations: 27.8 kB / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.2775, allocations: 57.98 kB / 434 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2775, allocations: 0 / 434 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2775, allocations: 4 kB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2775, allocations: 0 / 434 MB, free: 4.301 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.0006741/0.2782, allocations: 306 kB / 434.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2782, allocations: 12.02 kB / 434.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.2784, allocations: 16.89 kB / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.2787, allocations: 145 kB / 434.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2787, allocations: 384 / 434.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.2787, allocations: 4.375 kB / 434.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.279, allocations: 121.3 kB / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.279, allocations: 0 / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.279, allocations: 4 kB / 434.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.279, allocations: 7.938 kB / 434.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.2791, allocations: 19.92 kB / 434.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.2795, allocations: 209.5 kB / 434.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.2798, allocations: 69.08 kB / 434.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.2798, allocations: 29.77 kB / 434.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2799, allocations: 0 / 434.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.2799, allocations: 34.56 kB / 434.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2799, allocations: 0 / 434.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002749/0.2802, allocations: 81.56 kB / 435 MB, free: 3.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.2803, allocations: 81.11 kB / 435.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2805, allocations: 138.1 kB / 435.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2805, allocations: 29.83 kB / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.2805, allocations: 92.08 kB / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.2806, allocations: 7.953 kB / 435.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.2806, allocations: 21.64 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003219/0.2809, allocations: 318.8 kB / 435.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.281, allocations: 7.984 kB / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.281, allocations: 31.44 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.2811, allocations: 51.36 kB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2811, allocations: 0 / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001614/0.2813, allocations: 77.5 kB / 435.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2813, allocations: 4 kB / 435.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2813, allocations: 4.219 kB / 435.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2813, allocations: 4 kB / 435.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.2814, allocations: 11.98 kB / 435.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2814, allocations: 4.125 kB / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.2815, allocations: 4 kB / 435.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2815, allocations: 3.938 kB / 435.9 MB, free: 2.16 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 0.0001005/0.2816, allocations: 121.8 kB / 436 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.2816, allocations: 49.64 kB / 436 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.2817, allocations: 16.33 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2817, allocations: 0 / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2817, allocations: 4 kB / 436.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2817, allocations: 0 / 436.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.2819, allocations: 113.3 kB / 436.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2819, allocations: 7.938 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.2819, allocations: 15.98 kB / 436.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2819, allocations: 0 / 436.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.282, allocations: 4 kB / 436.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.282, allocations: 3.938 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.282, allocations: 0 / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.2822, allocations: 164.3 kB / 436.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.2822, allocations: 27.81 kB / 436.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.2822, allocations: 0 / 436.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.2823, allocations: 4 kB / 436.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.2823, allocations: 8 kB / 436.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2823, allocations: 3.984 kB / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.2824, allocations: 110 kB / 436.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2824, allocations: 0 / 436.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.2827, allocations: 8 kB / 436.5 MB, free: 1.441 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.867e-05/0.2828, allocations: 95.25 kB / 436.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.2829, allocations: 31.91 kB / 436.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2829, allocations: 4.25 kB / 436.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.283, allocations: 11.94 kB / 436.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.2833, allocations: 26.61 kB / 436.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.2838, allocations: 167.7 kB / 436.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.2839, allocations: 75.33 kB / 436.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.82e-05/0.284, allocations: 7.922 kB / 436.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.284, allocations: 15.5 kB / 436.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.284, allocations: 0 / 436.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of Templates: time 0.003293/0.2873, allocations: 0.5898 MB / 437.5 MB, free: 392 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.628588173538446]