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.0009228/0.0009228, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001008/0.001008, allocations: 170.8 kB / 24.91 MB, free: 9.152 MB / 18.57 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 0.9691/0.9691, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.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.595e-06/2.595e-06, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.177e-05/5.436e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.004059/0.004113, allocations: 1.792 MB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006063/0.004719, allocations: 171.2 kB / 275.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.004835, allocations: 0 / 275.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.756e-05/0.004903, allocations: 7.875 kB / 275.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.005106, allocations: 11.88 kB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.0054, allocations: 51.81 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.005536, allocations: 51.84 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.005666, allocations: 19.98 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.00575, allocations: 35.89 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.005818, allocations: 15.92 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.005845, allocations: 8 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.005858, allocations: 4 kB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.005927, allocations: 19.91 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.006006, allocations: 15.94 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.006193, allocations: 55.69 kB / 275.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.006195, allocations: 0 / 275.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.006197, allocations: 4 kB / 275.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.006204, allocations: 0 / 275.8 MB, free: 14.99 MB / 266.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.0004059/0.00661, allocations: 296.5 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.006652, allocations: 8.031 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.006686, allocations: 8.938 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.006891, allocations: 137.6 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.006903, allocations: 4.375 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.006914, allocations: 8.375 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.007175, allocations: 159 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.007185, allocations: 192 / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.007196, allocations: 4.375 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.007202, allocations: 384 / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.457e-05/0.007236, allocations: 11.94 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.007514, allocations: 249.2 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.007681, allocations: 91.7 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.007719, allocations: 34.77 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.007742, allocations: 8 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.007768, allocations: 38.5 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.494e-06/0.007771, allocations: 0 / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001714/0.007942, allocations: 81.48 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.008013, allocations: 106.8 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.008097, allocations: 136.4 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.008109, allocations: 29.7 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.008152, allocations: 96.31 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.008172, allocations: 7.953 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.008201, allocations: 9.719 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.008306, allocations: 322.8 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.008314, allocations: 0 / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.008336, allocations: 17.7 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.008364, allocations: 17.66 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.008367, allocations: 0 / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.274e-05/0.00843, allocations: 45.69 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.008445, allocations: 8 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.00845, allocations: 0 / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.008467, allocations: 3.938 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.008505, allocations: 4 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.008509, allocations: 0 / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.008525, allocations: 4 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.00853, allocations: 0 / 277.7 MB, free: 12.85 MB / 266.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 7.745e-05/0.008607, allocations: 120.7 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.008682, allocations: 49.62 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.008717, allocations: 16.84 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.008723, allocations: 11.92 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.008725, allocations: 0 / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.00873, allocations: 0 / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.008872, allocations: 85.81 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008873, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.008927, allocations: 27.97 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008929, allocations: 0 / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.008934, allocations: 0 / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.008937, allocations: 4 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008938, allocations: 0 / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.009062, allocations: 235.5 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.009093, allocations: 19.89 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.009103, allocations: 0 / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/0.009155, allocations: 11.98 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.009186, allocations: 3.938 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.009191, allocations: 4 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.314e-05/0.009215, allocations: 23.5 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.009215, allocations: 0 / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000143/0.009358, allocations: 8 kB / 278.3 MB, free: 12.19 MB / 266.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 9.536e-05/0.009453, allocations: 80.45 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.741e-05/0.00953, allocations: 28.77 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.009534, allocations: 4 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.009548, allocations: 12.8 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.009829, allocations: 30.27 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.01019, allocations: 207.9 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/0.01024, allocations: 63.34 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.01027, allocations: 12.23 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.01033, allocations: 51.38 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01033, allocations: 0 / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of Templates: time 0.002747/0.01307, allocations: 0.7134 MB / 279.5 MB, free: 10.93 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.633686176035553]