Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 199.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008283/0.0008283, allocations: 92.66 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3356/0.3356, allocations: 45 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002668, allocations: 4.219 kB / 470.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3074, allocations: 63.1 MB / 0.5214 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.000706/0.3081, allocations: 210.5 kB / 0.5216 GB, free: 38.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.311, allocations: 3.635 MB / 0.5251 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.3111, allocations: 0 / 0.5251 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.3111, allocations: 0 / 0.5251 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.493e-05/0.3111, allocations: 0 / 0.5251 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007669/0.3119, allocations: 298.6 kB / 0.5254 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.486e-05/0.3119, allocations: 6.812 kB / 0.5254 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.312, allocations: 0 / 0.5254 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.312, allocations: 2.938 kB / 0.5254 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04017/0.3522, allocations: 3.252 MB / 0.5286 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3522, allocations: 0 / 0.5286 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.3523, allocations: 12.3 kB / 0.5286 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.3523, allocations: 0 / 0.5286 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.3524, allocations: 25.7 kB / 0.5286 GB, free: 33.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.572e-05/0.3524, allocations: 12.73 kB / 0.5286 GB, free: 33.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3525, allocations: 0 / 0.5286 GB, free: 33.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3525, allocations: 0 / 0.5286 GB, free: 33.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.3525, allocations: 0 / 0.5286 GB, free: 33.62 MB / 378.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.0001884/0.3527, allocations: 310.5 kB / 0.5289 GB, free: 33.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3527, allocations: 9.062 kB / 0.5289 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.3529, allocations: 89.56 kB / 0.529 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.34e-05/0.353, allocations: 239.1 kB / 0.5293 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.353, allocations: 150.9 kB / 0.5294 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.353, allocations: 161.4 kB / 0.5295 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.022e-05/0.3531, allocations: 105 kB / 0.5296 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3531, allocations: 79.28 kB / 0.5297 GB, free: 32.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3531, allocations: 154.5 kB / 0.5299 GB, free: 32.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3531, allocations: 150.6 kB / 0.53 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.3532, allocations: 153.5 kB / 0.5302 GB, free: 31.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.3533, allocations: 449.1 kB / 0.5306 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.477e-05/0.3534, allocations: 169.1 kB / 0.5308 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.3534, allocations: 95.17 kB / 0.5308 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3534, allocations: 75.28 kB / 0.5309 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3534, allocations: 105.8 kB / 0.531 GB, free: 31.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.3534, allocations: 0 / 0.531 GB, free: 31.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.642e-05/0.3535, allocations: 28.64 kB / 0.531 GB, free: 31.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3535, allocations: 186.1 kB / 0.5312 GB, free: 30.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/0.3536, allocations: 93.09 kB / 0.5313 GB, free: 30.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.3536, allocations: 25.7 kB / 0.5313 GB, free: 30.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.239e-05/0.3536, allocations: 83.08 kB / 0.5314 GB, free: 30.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-06/0.3536, allocations: 3.938 kB / 0.5314 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.3536, allocations: 0 / 0.5314 GB, free: 30.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.731e-05/0.3537, allocations: 310.8 kB / 0.5317 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-06/0.3537, allocations: 4.125 kB / 0.5317 GB, free: 30.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.3537, allocations: 17.09 kB / 0.5317 GB, free: 30.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.048e-05/0.3537, allocations: 75.28 kB / 0.5318 GB, free: 30.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.3537, allocations: 75.28 kB / 0.5319 GB, free: 30.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.304e-05/0.3538, allocations: 36.61 kB / 0.5319 GB, free: 30.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3538, allocations: 86.97 kB / 0.532 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.3538, allocations: 81.75 kB / 0.5321 GB, free: 29.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.3539, allocations: 154.6 kB / 0.5322 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-06/0.3539, allocations: 75.28 kB / 0.5323 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.3539, allocations: 157.8 kB / 0.5324 GB, free: 29.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.354, allocations: 75.28 kB / 0.5325 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.354, allocations: 79.27 kB / 0.5326 GB, free: 29.38 MB / 378.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 5.076e-05/0.354, allocations: 274.8 kB / 0.5329 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.3541, allocations: 107.6 kB / 0.533 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.3541, allocations: 104.1 kB / 0.5331 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.3541, allocations: 180.2 kB / 0.5332 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/0.3542, allocations: 182.1 kB / 0.5334 GB, free: 28.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/0.3542, allocations: 184.2 kB / 0.5336 GB, free: 28.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.3543, allocations: 407.5 kB / 0.534 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.3543, allocations: 101 kB / 0.5341 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.3544, allocations: 104.9 kB / 0.5342 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-05/0.3544, allocations: 179.1 kB / 0.5343 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.3544, allocations: 184.9 kB / 0.5345 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-05/0.3544, allocations: 181 kB / 0.5347 GB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.739e-05/0.3545, allocations: 184.4 kB / 0.5349 GB, free: 26.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.926e-05/0.3546, allocations: 312.1 kB / 0.5352 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.3546, allocations: 185.9 kB / 0.5353 GB, free: 26.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.3546, allocations: 179.4 kB / 0.5355 GB, free: 26.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.3547, allocations: 109 kB / 0.5356 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3547, allocations: 183.2 kB / 0.5358 GB, free: 25.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3548, allocations: 105.2 kB / 0.5359 GB, free: 25.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.589e-05/0.3548, allocations: 75.28 kB / 0.536 GB, free: 25.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3548, allocations: 2.938 kB / 0.536 GB, free: 25.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.355, allocations: 4 kB / 0.536 GB, free: 25.76 MB / 378.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 9.051e-05/0.3551, allocations: 176.2 kB / 0.5361 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.641e-05/0.3552, allocations: 6.719 kB / 0.5361 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3552, allocations: 0 / 0.5361 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.3552, allocations: 0 / 0.5361 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.3554, allocations: 0.5252 MB / 0.5366 GB, free: 25.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001469/0.3556, allocations: 148.8 kB / 0.5368 GB, free: 24.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3557, allocations: 0.6733 MB / 0.5374 GB, free: 24.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.195e-05/0.3558, allocations: 0 / 0.5374 GB, free: 24.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-06/0.3558, allocations: 7.438 kB / 0.5375 GB, free: 24.19 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3558, allocations: 0 / 0.5375 GB, free: 24.19 MB / 378.7 MB Notification: Performance of Templates: time 0.001778/0.3576, allocations: 290.5 kB / 0.5377 GB, free: 24.12 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches