Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009018/0.0009019, allocations: 199.6 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.287/1.287, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007623/0.0007622, allocations: 100.2 kB / 299.8 MB, free: 5.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3046/0.3046, allocations: 45 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002506, allocations: 8.219 kB / 470.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3156, allocations: 63.09 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.000533/0.3162, allocations: 228.8 kB / 0.5216 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3174, allocations: 1.21 MB / 0.5228 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.18e-05/0.3174, allocations: 0 / 0.5228 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.978e-06/0.3174, allocations: 0 / 0.5228 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.87e-06/0.3174, allocations: 4 kB / 0.5228 GB, free: 37.22 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function ‘ModelicaTest.Math.Vectors‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3188, allocations: 0.9699 MB / 0.5237 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.68e-05/0.3189, allocations: 0 / 0.5237 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.3189, allocations: 2.812 kB / 0.5237 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.3189, allocations: 3.938 kB / 0.5237 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.628e-05/0.319, allocations: 4 kB / 0.5237 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-06/0.319, allocations: 0 / 0.5237 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.3195, allocations: 359.5 kB / 0.5241 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.3195, allocations: 8 kB / 0.5241 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.3196, allocations: 28.3 kB / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.3199, allocations: 345.2 kB / 0.5244 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.32, allocations: 0 / 0.5244 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.32, allocations: 0 / 0.5244 GB, free: 36.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.32, allocations: 0 / 0.5244 GB, free: 36.2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002555/0.3202, allocations: 386.8 kB / 0.5248 GB, free: 35.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3203, allocations: 11.28 kB / 0.5248 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.3203, allocations: 0.9375 kB / 0.5248 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.256e-05/0.3204, allocations: 160.4 kB / 0.525 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3204, allocations: 4.375 kB / 0.525 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.3204, allocations: 384 / 0.525 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.941e-05/0.3205, allocations: 40.77 kB / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3205, allocations: 192 / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3205, allocations: 6.625 kB / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3205, allocations: 0 / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.439e-05/0.3205, allocations: 0 / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.402e-05/0.3206, allocations: 144.5 kB / 0.5251 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.027e-05/0.3207, allocations: 18.58 kB / 0.5252 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.3207, allocations: 10.89 kB / 0.5252 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3207, allocations: 3.938 kB / 0.5252 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.3207, allocations: 64.2 kB / 0.5252 GB, free: 35.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3207, allocations: 0 / 0.5252 GB, free: 35.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.3209, allocations: 66.3 kB / 0.5253 GB, free: 35.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3209, allocations: 80.14 kB / 0.5254 GB, free: 35.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.963e-05/0.3209, allocations: 93.98 kB / 0.5255 GB, free: 34.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3209, allocations: 25.7 kB / 0.5255 GB, free: 34.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.163e-05/0.321, allocations: 80.14 kB / 0.5256 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.321, allocations: 0 / 0.5256 GB, free: 34.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.321, allocations: 0 / 0.5256 GB, free: 34.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.321, allocations: 317.4 kB / 0.5259 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.321, allocations: 0 / 0.5259 GB, free: 34.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-06/0.3211, allocations: 0 / 0.5259 GB, free: 34.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.3211, allocations: 70.12 kB / 0.5259 GB, free: 34.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3211, allocations: 2.969 kB / 0.5259 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.659e-05/0.3211, allocations: 56.97 kB / 0.526 GB, free: 34.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.3212, allocations: 31.61 kB / 0.526 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3212, allocations: 3.469 kB / 0.526 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3212, allocations: 3.938 kB / 0.526 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3212, allocations: 0 / 0.526 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3212, allocations: 0 / 0.526 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.3213, allocations: 10.53 kB / 0.526 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3213, allocations: 0 / 0.526 GB, free: 34.36 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.489e-05/0.3213, allocations: 144.3 kB / 0.5262 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.3214, allocations: 3.938 kB / 0.5262 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-06/0.3214, allocations: 7.062 kB / 0.5262 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3214, allocations: 2.469 kB / 0.5262 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3214, allocations: 3.188 kB / 0.5262 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3214, allocations: 0 / 0.5262 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.616e-05/0.3214, allocations: 141.7 kB / 0.5263 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3215, allocations: 2.531 kB / 0.5263 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.3215, allocations: 3.938 kB / 0.5263 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3215, allocations: 4 kB / 0.5263 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3215, allocations: 7.406 kB / 0.5263 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.3215, allocations: 0 / 0.5263 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3215, allocations: 2.5 kB / 0.5264 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.819e-05/0.3216, allocations: 92.39 kB / 0.5264 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3216, allocations: 77.11 kB / 0.5265 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3216, allocations: 3.938 kB / 0.5265 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.3216, allocations: 6.781 kB / 0.5265 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.3217, allocations: 0 / 0.5265 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3217, allocations: 4 kB / 0.5265 GB, free: 33.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.595e-05/0.3217, allocations: 75.28 kB / 0.5266 GB, free: 33.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3217, allocations: 3.406 kB / 0.5266 GB, free: 33.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.322, allocations: 80.88 kB / 0.5267 GB, free: 33.7 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004618/0.3225, allocations: 226.4 kB / 0.5269 GB, free: 33.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.607e-05/0.3226, allocations: 66.25 kB / 0.527 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3226, allocations: 2.406 kB / 0.527 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/0.3226, allocations: 57.17 kB / 0.527 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.3227, allocations: 2.438 kB / 0.527 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001345/0.3229, allocations: 72.42 kB / 0.5271 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.149e-05/0.323, allocations: 0.6804 MB / 0.5277 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.619e-06/0.323, allocations: 4 kB / 0.5278 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-06/0.323, allocations: 10.16 kB / 0.5278 GB, free: 32.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.323, allocations: 4.125 kB / 0.5278 GB, free: 32.63 MB / 378.7 MB Notification: Performance of Templates: time 0.003771/0.3268, allocations: 1.921 MB / 0.5296 GB, free: 32.45 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches