Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008298/0.0008299, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009001/0.0009, allocations: 96.92 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3528/0.3528, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 12 kB / 432 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1193, allocations: 58.85 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0005161/0.1198, allocations: 228.3 kB / 491 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1222, allocations: 1.891 MB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.119e-05/0.1222, allocations: 0 / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.979e-06/0.1222, allocations: 0 / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.982e-06/0.1223, allocations: 0 / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1238, allocations: 0.5883 MB / 493.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.31e-05/0.1238, allocations: 8 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.585e-05/0.1239, allocations: 4 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.495e-05/0.1239, allocations: 0 / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.085e-05/0.1239, allocations: 0 / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-06/0.1239, allocations: 0 / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008786/0.1248, allocations: 0.62 MB / 494.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.1248, allocations: 7.938 kB / 494.2 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.1249, allocations: 25.7 kB / 494.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.1253, allocations: 411.2 kB / 494.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1253, allocations: 0 / 494.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1253, allocations: 0 / 494.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1254, allocations: 0 / 494.6 MB, free: 7.113 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.0004332/0.1258, allocations: 401.2 kB / 495 MB, free: 6.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1258, allocations: 8.031 kB / 495 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.1259, allocations: 4.938 kB / 495 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.391e-05/0.126, allocations: 164.4 kB / 495.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.126, allocations: 384 / 495.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.126, allocations: 4.375 kB / 495.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.1261, allocations: 30.02 kB / 495.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1261, allocations: 3.938 kB / 495.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1261, allocations: 3.938 kB / 495.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1261, allocations: 0 / 495.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.1262, allocations: 7.984 kB / 495.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.1263, allocations: 145.7 kB / 495.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.385e-05/0.1264, allocations: 26.61 kB / 495.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.1264, allocations: 8.797 kB / 495.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.1264, allocations: 0 / 495.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.1264, allocations: 60.2 kB / 495.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 4.308e-06/0.1265, allocations: 3.984 kB / 495.4 MB, free: 6.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000167/0.1266, allocations: 71.39 kB / 495.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.1267, allocations: 81.23 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.23e-05/0.1267, allocations: 89.86 kB / 495.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1268, allocations: 29.7 kB / 495.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.1268, allocations: 80.14 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.1268, allocations: 0 / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-06/0.1268, allocations: 0 / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1269, allocations: 314.8 kB / 496.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.1269, allocations: 0 / 496.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-06/0.127, allocations: 7.984 kB / 496.1 MB, free: 5.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.127, allocations: 64.27 kB / 496.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.127, allocations: 0 / 496.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.202e-05/0.1271, allocations: 59.41 kB / 496.2 MB, free: 5.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.1271, allocations: 33.64 kB / 496.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1271, allocations: 0 / 496.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1272, allocations: 7.984 kB / 496.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.1272, allocations: 0 / 496.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1272, allocations: 0 / 496.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.1272, allocations: 0 / 496.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1272, allocations: 4.031 kB / 496.3 MB, free: 5.168 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/0.1273, allocations: 139.5 kB / 496.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.1273, allocations: 3.938 kB / 496.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.006e-05/0.1273, allocations: 3.125 kB / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1273, allocations: 0 / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1274, allocations: 0 / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1274, allocations: 0 / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.366e-05/0.1275, allocations: 149.7 kB / 496.6 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.1275, allocations: 3.938 kB / 496.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1275, allocations: 4 kB / 496.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1275, allocations: 3.938 kB / 496.6 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.1275, allocations: 3.938 kB / 496.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1275, allocations: 0 / 496.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1275, allocations: 4 kB / 496.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.993e-05/0.1276, allocations: 90.81 kB / 496.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.1276, allocations: 77.11 kB / 496.7 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.1277, allocations: 7.938 kB / 496.7 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-06/0.1277, allocations: 4.031 kB / 496.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.1277, allocations: 0 / 496.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1277, allocations: 7.938 kB / 496.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.149e-05/0.1277, allocations: 79.27 kB / 496.8 MB, free: 4.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1277, allocations: 0 / 496.8 MB, free: 4.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004305/0.1282, allocations: 136 kB / 497 MB, free: 4.355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007377/0.1289, allocations: 251.1 kB / 497.2 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.129, allocations: 67.34 kB / 497.3 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1291, allocations: 0 / 497.3 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.1291, allocations: 59.39 kB / 497.3 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1293, allocations: 0 / 497.3 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.1295, allocations: 108.4 kB / 497.4 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1298, allocations: 0.673 MB / 498.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.1298, allocations: 7.438 kB / 498.1 MB, free: 3.113 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1298, allocations: 0 / 498.1 MB, free: 3.113 MB / 378.7 MB Notification: Performance of Templates: time 0.006193/0.136, allocations: 3.105 MB / 0.4895 GB, free: 4 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches