Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001143/0.001143, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004755/0.005898, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001053/0.001053, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002484, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.085/1.085, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1097/1.194, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/2.039e-05, allocations: 6.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002115/0.002136, allocations: 1.803 MB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002717/0.002407, allocations: 175.3 kB / 246.7 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.761e-05/0.002495, allocations: 3.938 kB / 246.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.002536, allocations: 7.922 kB / 246.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.824e-05/0.002615, allocations: 11.88 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.002779, allocations: 47.77 kB / 246.8 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.002888, allocations: 51.84 kB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.002985, allocations: 27.98 kB / 246.8 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.003061, allocations: 39.89 kB / 246.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.003125, allocations: 19.91 kB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.00315, allocations: 4 kB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.003164, allocations: 8 kB / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.003212, allocations: 11.94 kB / 246.9 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.003235, allocations: 15.94 kB / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.003344, allocations: 47.77 kB / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.003354, allocations: 4 kB / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.003354, allocations: 0 / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.003365, allocations: 3.938 kB / 247 MB, free: 11.94 MB / 250.7 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.0004004/0.003765, allocations: 304.2 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.003799, allocations: 8.031 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.003836, allocations: 12.94 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.00399, allocations: 129.7 kB / 247.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.004, allocations: 8.375 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.004012, allocations: 8.312 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.004219, allocations: 155 kB / 247.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.004226, allocations: 192 / 247.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.004236, allocations: 8.375 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004242, allocations: 384 / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.004269, allocations: 19.86 kB / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.004487, allocations: 249.3 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.004633, allocations: 79.7 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.004669, allocations: 50.62 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.004691, allocations: 3.938 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.004717, allocations: 38.56 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.004718, allocations: 0 / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001492/0.004867, allocations: 81.67 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.004921, allocations: 114.8 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.004994, allocations: 133 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005005, allocations: 29.7 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.005048, allocations: 92.08 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.005062, allocations: 8.172 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.005087, allocations: 21.67 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.005164, allocations: 310.8 kB / 248.8 MB, free: 9.902 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.005176, allocations: 7.984 kB / 248.8 MB, free: 9.895 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.005192, allocations: 9.719 kB / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.005217, allocations: 25.64 kB / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005219, allocations: 0 / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.109e-05/0.00526, allocations: 41.69 kB / 248.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.005272, allocations: 4.125 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005277, allocations: 4 kB / 248.9 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.005292, allocations: 3.938 kB / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.984e-05/0.005332, allocations: 11.94 kB / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.005335, allocations: 0 / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.005348, allocations: 0 / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.005352, allocations: 0 / 248.9 MB, free: 9.777 MB / 250.7 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 5.993e-05/0.005412, allocations: 116.7 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.005462, allocations: 53.69 kB / 249.1 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.005492, allocations: 16.77 kB / 249.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.005494, allocations: 3.938 kB / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.005496, allocations: 4 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.0055, allocations: 4 kB / 249.1 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.005613, allocations: 73.88 kB / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005614, allocations: 0 / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.005655, allocations: 27.92 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.005681, allocations: 19.91 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.005683, allocations: 4 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.005688, allocations: 0 / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005689, allocations: 3.938 kB / 249.2 MB, free: 9.422 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.005693, allocations: 7.938 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.435e-05/0.005777, allocations: 219.7 kB / 249.5 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.005787, allocations: 0 / 249.5 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.005833, allocations: 7.922 kB / 249.5 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.005856, allocations: 7.938 kB / 249.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.005859, allocations: 4 kB / 249.5 MB, free: 9.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.005882, allocations: 30.08 kB / 249.5 MB, free: 9.129 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005882, allocations: 4 kB / 249.5 MB, free: 9.125 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.006019, allocations: 4 kB / 249.5 MB, free: 9.121 MB / 250.7 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 7.151e-05/0.006091, allocations: 88.39 kB / 249.6 MB, free: 9.027 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.006155, allocations: 24.78 kB / 249.6 MB, free: 9 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.00616, allocations: 4 kB / 249.6 MB, free: 8.996 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.777e-05/0.006177, allocations: 12.84 kB / 249.6 MB, free: 8.98 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.006445, allocations: 100.1 kB / 249.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.006852, allocations: 207.2 kB / 249.9 MB, free: 8.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.586e-05/0.006898, allocations: 71.34 kB / 250 MB, free: 8.543 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.402e-05/0.006922, allocations: 8.359 kB / 250 MB, free: 8.535 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.006975, allocations: 55.38 kB / 250.1 MB, free: 8.48 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.006976, allocations: 0 / 250.1 MB, free: 8.48 MB / 250.7 MB Notification: Performance of Templates: time 0.00229/0.009266, allocations: 0.7269 MB / 250.8 MB, free: 7.77 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6069036684930325]