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.001409/0.001409, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 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.001492/0.001492, allocations: 188.4 kB / 23.72 MB, free: 4.711 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.554/1.554, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001592/0.001592, allocations: 47.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3118, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003278/0.3151, allocations: 1.722 MB / 424.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004883/0.3155, allocations: 163.5 kB / 425 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.3156, allocations: 4 kB / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.849e-05/0.3157, allocations: 11.86 kB / 425 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.3158, allocations: 11.88 kB / 425 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.3161, allocations: 43.83 kB / 425.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3162, allocations: 55.91 kB / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3164, allocations: 27.92 kB / 425.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.509e-05/0.3164, allocations: 23.86 kB / 425.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.3165, allocations: 31.78 kB / 425.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.3165, allocations: 4 kB / 425.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.3165, allocations: 4 kB / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.3166, allocations: 19.92 kB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.3166, allocations: 31.75 kB / 425.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.3167, allocations: 68.92 kB / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3167, allocations: 0 / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3167, allocations: 8 kB / 425.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3167, allocations: 0 / 425.3 MB, free: 12.47 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005572/0.3173, allocations: 309.9 kB / 425.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3173, allocations: 12.03 kB / 425.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.3174, allocations: 12.84 kB / 425.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.3176, allocations: 134.4 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3176, allocations: 8.375 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3177, allocations: 4.375 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.318, allocations: 178.2 kB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.318, allocations: 4.125 kB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3181, allocations: 7.938 kB / 426 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.3181, allocations: 3.984 kB / 426 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3182, allocations: 39.97 kB / 426 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.3186, allocations: 333 kB / 426.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.3189, allocations: 115.8 kB / 426.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.319, allocations: 50.69 kB / 426.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.319, allocations: 7.984 kB / 426.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.319, allocations: 38.5 kB / 426.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.319, allocations: 0 / 426.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003589/0.3194, allocations: 125.7 kB / 426.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.3195, allocations: 110.8 kB / 426.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3196, allocations: 133.8 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3196, allocations: 25.7 kB / 427 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.3197, allocations: 92.39 kB / 427.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.3197, allocations: 15.94 kB / 427.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.3197, allocations: 21.72 kB / 427.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3199, allocations: 318.8 kB / 427.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/0.3199, allocations: 19.92 kB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.309e-05/0.32, allocations: 67.72 kB / 427.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3202, allocations: 99.53 kB / 427.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3202, allocations: 0 / 427.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.3204, allocations: 105.7 kB / 427.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3204, allocations: 8.062 kB / 427.7 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3204, allocations: 4 kB / 427.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3204, allocations: 3.938 kB / 427.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.3205, allocations: 23.92 kB / 427.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3205, allocations: 4 kB / 427.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.3206, allocations: 15.92 kB / 427.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3206, allocations: 4 kB / 427.8 MB, free: 9.766 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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 prepare postOptimizeDAE: time 9.921e-05/0.3207, allocations: 121.8 kB / 427.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.3208, allocations: 85.53 kB / 428 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.3208, allocations: 12.72 kB / 428 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3208, allocations: 4 kB / 428 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3208, allocations: 0 / 428 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3208, allocations: 4.172 kB / 428 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.3211, allocations: 160.6 kB / 428.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3211, allocations: 3.938 kB / 428.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.3212, allocations: 19.98 kB / 428.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3212, allocations: 0 / 428.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3212, allocations: 4 kB / 428.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3212, allocations: 4 kB / 428.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3212, allocations: 0 / 428.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.3216, allocations: 312.3 kB / 428.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.3216, allocations: 19.94 kB / 428.5 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3216, allocations: 11.94 kB / 428.5 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3217, allocations: 3.984 kB / 428.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.3218, allocations: 4 kB / 428.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3218, allocations: 4 kB / 428.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.183e-05/0.3219, allocations: 110.1 kB / 428.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3219, allocations: 4 kB / 428.6 MB, free: 8.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.3222, allocations: 15.95 kB / 428.6 MB, free: 8.797 MB / 334.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 9.891e-05/0.3223, allocations: 99.19 kB / 428.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.3225, allocations: 67.83 kB / 428.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3225, allocations: 0 / 428.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.3225, allocations: 8 kB / 428.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.3229, allocations: 39.95 kB / 428.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.3233, allocations: 212.8 kB / 429.1 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.3238, allocations: 0.7008 MB / 429.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.519e-05/0.3238, allocations: 4.672 kB / 429.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.3238, allocations: 15.38 kB / 429.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3238, allocations: 0 / 429.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of Templates: time 0.003585/0.3274, allocations: 0.7552 MB / 430.5 MB, free: 6.84 MB / 334.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: 4.853984689339995]