Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.0009503/0.0009503, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004328/0.004328, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8929/0.8929, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 34.25 MB / 295.6 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 443.4 MB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.902e-05, allocations: 5.094 kB / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001067/0.001096, allocations: 493 kB / 443.9 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2118/0.2129, allocations: 2.062 MB / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.2129, allocations: 0 / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.2129, allocations: 0 / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.511e-05/0.213, allocations: 0 / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008465/0.2138, allocations: 409.8 kB / 446.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.2138, allocations: 6.688 kB / 446.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.2139, allocations: 0 / 446.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.2139, allocations: 2.906 kB / 446.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006897/0.2208, allocations: 3.385 MB / 449.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.2208, allocations: 0 / 449.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.2209, allocations: 2.938 kB / 449.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.2209, allocations: 0 / 449.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.2209, allocations: 3.406 kB / 449.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.221, allocations: 12.95 kB / 449.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.221, allocations: 0.5938 kB / 449.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2211, allocations: 0.5 kB / 449.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.2211, allocations: 3.938 kB / 449.8 MB, free: 42.24 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002258/0.2213, allocations: 239.7 kB / 450 MB, free: 41.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2213, allocations: 12.53 kB / 450 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.2215, allocations: 89.19 kB / 450.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.344e-05/0.2216, allocations: 183.9 kB / 450.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.2216, allocations: 150.9 kB / 450.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.2216, allocations: 153.7 kB / 450.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.545e-05/0.2217, allocations: 101.5 kB / 450.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2217, allocations: 75.47 kB / 450.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.2217, allocations: 161.7 kB / 450.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.2217, allocations: 154.5 kB / 451 MB, free: 40.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.2217, allocations: 157.7 kB / 451.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.2219, allocations: 404.5 kB / 451.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/0.2219, allocations: 171.8 kB / 451.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.2219, allocations: 80.14 kB / 451.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.222, allocations: 75.28 kB / 451.9 MB, free: 40.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.222, allocations: 108.8 kB / 452 MB, free: 39.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.222, allocations: 0 / 452 MB, free: 39.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.26e-05/0.222, allocations: 36.33 kB / 452.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.2221, allocations: 185.3 kB / 452.2 MB, free: 39.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.2222, allocations: 92.73 kB / 452.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.2222, allocations: 25.7 kB / 452.4 MB, free: 39.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.378e-05/0.2222, allocations: 84.27 kB / 452.4 MB, free: 39.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.2222, allocations: 0 / 452.4 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.2222, allocations: 12.5 kB / 452.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.2222, allocations: 317.7 kB / 452.8 MB, free: 39.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-06/0.2223, allocations: 0 / 452.8 MB, free: 39.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.2223, allocations: 67.36 kB / 452.8 MB, free: 39.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.395e-05/0.2223, allocations: 75.28 kB / 452.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.2223, allocations: 75.28 kB / 453 MB, free: 38.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.558e-05/0.2223, allocations: 32.23 kB / 453 MB, free: 38.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2224, allocations: 80.78 kB / 453.1 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2224, allocations: 78.12 kB / 453.2 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.2224, allocations: 162.5 kB / 453.3 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-05/0.2224, allocations: 82.47 kB / 453.4 MB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.2224, allocations: 165.3 kB / 453.6 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.2225, allocations: 82.16 kB / 453.6 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.2225, allocations: 75.28 kB / 453.7 MB, free: 38.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 6.149e-05/0.2225, allocations: 259.3 kB / 454 MB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.2226, allocations: 108.3 kB / 454.1 MB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.2226, allocations: 106.8 kB / 454.2 MB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.2226, allocations: 180.3 kB / 454.4 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/0.2226, allocations: 187.2 kB / 454.5 MB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.2227, allocations: 180.3 kB / 454.7 MB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.533e-05/0.2227, allocations: 355.2 kB / 455.1 MB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.2227, allocations: 104 kB / 455.2 MB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-06/0.2227, allocations: 105 kB / 455.3 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.2228, allocations: 183.6 kB / 455.4 MB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.2228, allocations: 179.2 kB / 455.6 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.569e-05/0.2228, allocations: 180.2 kB / 455.8 MB, free: 35.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/0.2228, allocations: 179.2 kB / 456 MB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.15e-05/0.2229, allocations: 320.8 kB / 456.3 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.2229, allocations: 101 kB / 456.4 MB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.2229, allocations: 186.9 kB / 456.6 MB, free: 35.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.2229, allocations: 107.3 kB / 456.7 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.223, allocations: 180.2 kB / 456.8 MB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.223, allocations: 111.8 kB / 456.9 MB, free: 34.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.799e-05/0.223, allocations: 75.28 kB / 457 MB, free: 34.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.223, allocations: 0 / 457 MB, free: 34.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.2232, allocations: 2.844 kB / 457 MB, free: 34.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.231e-05/0.2232, allocations: 166.1 kB / 457.2 MB, free: 34.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.534e-05/0.2233, allocations: 0 / 457.2 MB, free: 34.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2233, allocations: 4.094 kB / 457.2 MB, free: 34.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.2233, allocations: 10.02 kB / 457.2 MB, free: 34.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.2235, allocations: 454.7 kB / 457.6 MB, free: 34.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001524/0.2236, allocations: 176.4 kB / 457.8 MB, free: 33.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.835e-05/0.2236, allocations: 58.08 kB / 457.9 MB, free: 33.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.2237, allocations: 8.5 kB / 457.9 MB, free: 33.8 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2237, allocations: 0 / 457.9 MB, free: 33.8 MB / 410.7 MB Notification: Performance of Templates: time 0.001201/0.2249, allocations: 376.9 kB / 458.3 MB, free: 33.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.626844899728894]