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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 75.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2688, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001398/0.2702, allocations: 485.8 kB / 0.5321 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.2728, allocations: 2.133 MB / 0.5342 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.2728, allocations: 0 / 0.5342 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.2729, allocations: 0 / 0.5342 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.386e-05/0.2729, allocations: 0 / 0.5342 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009194/0.2738, allocations: 390.4 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.832e-05/0.2739, allocations: 22.28 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.044e-05/0.2739, allocations: 5.531 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.311e-05/0.2739, allocations: 2.406 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01403/0.288, allocations: 3.351 MB / 0.5379 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.288, allocations: 0 / 0.5379 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.59e-05/0.288, allocations: 7.312 kB / 0.5379 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.2881, allocations: 5.203 kB / 0.5379 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.2881, allocations: 1.094 kB / 0.5379 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.2882, allocations: 12.3 kB / 0.5379 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2882, allocations: 1.188 kB / 0.5379 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2882, allocations: 0 / 0.5379 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2882, allocations: 0 / 0.5379 GB, free: 10.04 MB / 398.1 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.0002527/0.2885, allocations: 308.5 kB / 0.5382 GB, free: 9.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.2885, allocations: 9.844 kB / 0.5382 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.2887, allocations: 89.3 kB / 0.5383 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2888, allocations: 240.9 kB / 0.5385 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.2889, allocations: 150.9 kB / 0.5386 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.289, allocations: 159.6 kB / 0.5388 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.394e-05/0.289, allocations: 106 kB / 0.5389 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.2891, allocations: 79.28 kB / 0.539 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.2891, allocations: 159.6 kB / 0.5391 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.2892, allocations: 150.6 kB / 0.5393 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.913e-05/0.2892, allocations: 151.7 kB / 0.5394 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.2895, allocations: 443.2 kB / 0.5398 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/0.2895, allocations: 174.3 kB / 0.54 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.2896, allocations: 84.08 kB / 0.5401 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.2896, allocations: 75.28 kB / 0.5402 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.2897, allocations: 114.8 kB / 0.5403 GB, free: 7.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2897, allocations: 1.062 kB / 0.5403 GB, free: 7.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.598e-05/0.2897, allocations: 34.75 kB / 0.5403 GB, free: 7.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.2898, allocations: 179.2 kB / 0.5405 GB, free: 7.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.2899, allocations: 94.95 kB / 0.5406 GB, free: 7.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.2899, allocations: 25.7 kB / 0.5406 GB, free: 7.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.29, allocations: 81.17 kB / 0.5407 GB, free: 7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.29, allocations: 0 / 0.5407 GB, free: 7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.29, allocations: 12.78 kB / 0.5407 GB, free: 6.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2901, allocations: 319 kB / 0.541 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.2901, allocations: 0.9688 kB / 0.541 GB, free: 6.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.2901, allocations: 11.88 kB / 0.541 GB, free: 6.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.2902, allocations: 75.28 kB / 0.5411 GB, free: 6.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/0.2902, allocations: 80.27 kB / 0.5411 GB, free: 6.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.95e-05/0.2903, allocations: 31.92 kB / 0.5412 GB, free: 6.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.2903, allocations: 80.78 kB / 0.5412 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.2903, allocations: 80.22 kB / 0.5413 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.498e-05/0.2904, allocations: 159.7 kB / 0.5415 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.231e-05/0.2904, allocations: 80.28 kB / 0.5415 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.823e-05/0.2905, allocations: 159.6 kB / 0.5417 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.2906, allocations: 76.41 kB / 0.5418 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.2906, allocations: 84.2 kB / 0.5419 GB, free: 5.762 MB / 398.1 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 0.0001022/0.2907, allocations: 262.8 kB / 0.5421 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.2908, allocations: 106 kB / 0.5422 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.2908, allocations: 112.8 kB / 0.5423 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.814e-05/0.2909, allocations: 181.5 kB / 0.5425 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.745e-05/0.2909, allocations: 189.3 kB / 0.5427 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.643e-05/0.291, allocations: 185.2 kB / 0.5428 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.2912, allocations: 399.4 kB / 0.5432 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/0.2912, allocations: 116.9 kB / 0.5433 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.2913, allocations: 101.9 kB / 0.5434 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.811e-05/0.2913, allocations: 177.4 kB / 0.5436 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.655e-05/0.2914, allocations: 181.3 kB / 0.5438 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.264e-05/0.2915, allocations: 181.4 kB / 0.5439 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.593e-05/0.2915, allocations: 181.2 kB / 0.5441 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.2916, allocations: 312.6 kB / 0.5444 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.2917, allocations: 179.2 kB / 0.5446 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.2918, allocations: 185.4 kB / 0.5448 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.2919, allocations: 110.9 kB / 0.5449 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.2919, allocations: 181.4 kB / 0.545 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.292, allocations: 106 kB / 0.5451 GB, free: 2.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.529e-05/0.292, allocations: 76.34 kB / 0.5452 GB, free: 2.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.292, allocations: 3.938 kB / 0.5452 GB, free: 2.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.2923, allocations: 2.156 kB / 0.5452 GB, free: 2.113 MB / 398.1 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 9.926e-05/0.2924, allocations: 169.2 kB / 0.5454 GB, free: 1.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.213e-05/0.2924, allocations: 6.219 kB / 0.5454 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2925, allocations: 0 / 0.5454 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.033e-06/0.2925, allocations: 1.094 kB / 0.5454 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2928, allocations: 468.9 kB / 0.5458 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.293, allocations: 183.3 kB / 0.546 GB, free: 1.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2932, allocations: 0.6741 MB / 0.5467 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/0.2932, allocations: 8.406 kB / 0.5467 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2932, allocations: 0 / 0.5467 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Templates: time 0.001344/0.2946, allocations: 361 kB / 0.547 GB, free: 412 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches