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.001614/0.001614, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002019/0.002019, allocations: 206.1 kB / 24.48 MB, free: 3.695 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.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001463/0.001463, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3024, allocations: 53.35 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.0032/0.3056, allocations: 1.571 MB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004704/0.306, allocations: 135.5 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.3061, allocations: 3.938 kB / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.675e-05/0.3062, allocations: 3.938 kB / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.3064, allocations: 11.92 kB / 434 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.3066, allocations: 31.91 kB / 434.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.3067, allocations: 43.8 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3069, allocations: 11.98 kB / 434.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.3069, allocations: 11.94 kB / 434.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.307, allocations: 19.91 kB / 434.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.307, allocations: 8 kB / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.307, allocations: 3.938 kB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.3071, allocations: 8 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.3071, allocations: 15.86 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.3073, allocations: 51.41 kB / 434.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3073, allocations: 0 / 434.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3073, allocations: 4 kB / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3073, allocations: 0 / 434.3 MB, free: 4.789 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.0005394/0.3078, allocations: 301 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3079, allocations: 8.031 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.3079, allocations: 12.89 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.3082, allocations: 130.4 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3082, allocations: 4.375 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3082, allocations: 8.359 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.3085, allocations: 113.6 kB / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3085, allocations: 4.125 kB / 434.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3085, allocations: 11.94 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3085, allocations: 0 / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.3086, allocations: 19.98 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.3089, allocations: 197.5 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.3091, allocations: 65.12 kB / 435.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.3092, allocations: 25.77 kB / 435.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3092, allocations: 7.922 kB / 435.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3092, allocations: 34.56 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3092, allocations: 4 kB / 435.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002698/0.3095, allocations: 77.56 kB / 435.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.3096, allocations: 81.05 kB / 435.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3097, allocations: 139.9 kB / 435.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3097, allocations: 29.64 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.3098, allocations: 84.14 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.3098, allocations: 11.94 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.3098, allocations: 17.72 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.31, allocations: 318.8 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.31, allocations: 12.11 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.904e-05/0.3101, allocations: 35.42 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.3102, allocations: 47.36 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3102, allocations: 0 / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.3103, allocations: 65.56 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3103, allocations: 8 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3103, allocations: 0 / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3103, allocations: 0 / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.3104, allocations: 15.92 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3104, allocations: 0 / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.3104, allocations: 7.953 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3104, allocations: 4 kB / 436.1 MB, free: 2.695 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.009e-05/0.3105, allocations: 113.8 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.826e-05/0.3106, allocations: 57.75 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.3106, allocations: 12.34 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3106, allocations: 3.984 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3107, allocations: 0 / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3107, allocations: 0 / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3108, allocations: 117.3 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3108, allocations: 4 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.3108, allocations: 7.938 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3108, allocations: 7.938 kB / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.3109, allocations: 0 / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3109, allocations: 3.984 kB / 436.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3109, allocations: 4 kB / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.311, allocations: 160.4 kB / 436.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.3111, allocations: 19.92 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.3111, allocations: 0 / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.816e-05/0.3111, allocations: 0 / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.3112, allocations: 7.984 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.3112, allocations: 0 / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.092e-05/0.3113, allocations: 110.3 kB / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3113, allocations: 3.938 kB / 436.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.3115, allocations: 4 kB / 436.7 MB, free: 2 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.951e-05/0.3116, allocations: 103.6 kB / 436.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.3117, allocations: 31.91 kB / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3117, allocations: 0 / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.3118, allocations: 8 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3121, allocations: 29.19 kB / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.3124, allocations: 188 kB / 437.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.263e-05/0.3125, allocations: 79.64 kB / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.3126, allocations: 7.438 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3126, allocations: 0 / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of Templates: time 0.00229/0.3148, allocations: 0.695 MB / 437.9 MB, free: 0.8086 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 -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: 6.739507505000802]