Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 86.02 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 158.8 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.265e-05, allocations: 2.281 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002778/0.0028, allocations: 1.695 MB / 326.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.003251, allocations: 170.9 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.003326, allocations: 1.25 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.272e-05/0.003379, allocations: 10.86 kB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.003513, allocations: 10.5 kB / 326.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.003766, allocations: 45.77 kB / 327 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.003895, allocations: 51.14 kB / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.004014, allocations: 24.36 kB / 327 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.004076, allocations: 30.05 kB / 327.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.004133, allocations: 22.11 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.004167, allocations: 8.344 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.004181, allocations: 4.625 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.004236, allocations: 15.86 kB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.004271, allocations: 20.14 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.004435, allocations: 74.05 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004437, allocations: 0 / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004438, allocations: 0 / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.004447, allocations: 0 / 327.2 MB, free: 15.05 MB / 302.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.0005476/0.004994, allocations: 319.9 kB / 327.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005032, allocations: 12.39 kB / 327.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.005068, allocations: 14.11 kB / 327.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.005339, allocations: 137.2 kB / 327.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.005349, allocations: 7.219 kB / 327.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.005367, allocations: 8.75 kB / 327.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.005761, allocations: 158.1 kB / 327.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.005775, allocations: 1.5 kB / 327.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.005788, allocations: 8.375 kB / 327.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.005796, allocations: 6.953 kB / 327.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.00592, allocations: 36.86 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.006388, allocations: 316 kB / 328.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.006739, allocations: 110.2 kB / 328.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.006879, allocations: 52.78 kB / 328.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.006907, allocations: 2.844 kB / 328.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.006942, allocations: 37.98 kB / 328.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.006943, allocations: 4 kB / 328.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003919/0.007335, allocations: 129.5 kB / 328.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.007436, allocations: 110.1 kB / 328.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.007593, allocations: 137.8 kB / 328.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.007627, allocations: 25.7 kB / 328.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.007697, allocations: 87.62 kB / 328.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.007723, allocations: 8.938 kB / 328.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.007758, allocations: 18.28 kB / 328.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.007926, allocations: 323.7 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.007966, allocations: 4.344 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.00801, allocations: 18.84 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.008099, allocations: 31.77 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008101, allocations: 0 / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/0.008217, allocations: 55.08 kB / 329.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.008237, allocations: 16.69 kB / 329.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.008243, allocations: 5.625 kB / 329.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.00826, allocations: 1.25 kB / 329.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.866e-05/0.008298, allocations: 4.094 kB / 329.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.008306, allocations: 2.688 kB / 329.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.008335, allocations: 2.219 kB / 329.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.008342, allocations: 1.156 kB / 329.4 MB, free: 13.11 MB / 302.1 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 0.000118/0.00846, allocations: 117.4 kB / 329.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.008614, allocations: 80.3 kB / 329.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.799e-05/0.008672, allocations: 17.86 kB / 329.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.008677, allocations: 6.312 kB / 329.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.008683, allocations: 1.125 kB / 329.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.008689, allocations: 2.156 kB / 329.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.008913, allocations: 122.6 kB / 329.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.008915, allocations: 1.062 kB / 329.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.008997, allocations: 22.09 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.009002, allocations: 1.953 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.009015, allocations: 4.969 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.009018, allocations: 1.859 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.00902, allocations: 1.031 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.009427, allocations: 313.9 kB / 330 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.009474, allocations: 27 kB / 330.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.009491, allocations: 1.922 kB / 330.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.009596, allocations: 11.64 kB / 330.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.009628, allocations: 2.734 kB / 330.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.009637, allocations: 6.531 kB / 330.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.234e-05/0.00973, allocations: 110.3 kB / 330.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.00973, allocations: 0 / 330.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.009995, allocations: 6.844 kB / 330.2 MB, free: 12.4 MB / 302.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 0.0001062/0.0101, allocations: 101.4 kB / 330.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.01026, allocations: 41 kB / 330.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01026, allocations: 4 kB / 330.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.0103, allocations: 9.25 kB / 330.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.01074, allocations: 46.16 kB / 330.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.01116, allocations: 200 kB / 330.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.01127, allocations: 98.81 kB / 330.7 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.691e-05/0.01129, allocations: 2.75 kB / 330.7 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.01133, allocations: 11.59 kB / 330.7 MB, free: 12 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01133, allocations: 3.938 kB / 330.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Templates: time 0.00372/0.01505, allocations: 0.6636 MB / 331.4 MB, free: 11.91 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.358201801776886]