Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 104 kB / 16.27 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.00129, allocations: 190.8 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2159/0.2159, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 63.83 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1028, allocations: 57.79 MB / 440.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.002129/0.105, allocations: 489.5 kB / 441 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.1077, allocations: 1.974 MB / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.1077, allocations: 0 / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.1078, allocations: 4 kB / 443 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.1078, allocations: 0 / 443 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.1098, allocations: 0.7161 MB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.458e-05/0.1099, allocations: 3.984 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1099, allocations: 0 / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.928e-05/0.1099, allocations: 0 / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.066e-05/0.11, allocations: 7.984 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.913e-06/0.11, allocations: 0 / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1111, allocations: 0.6512 MB / 444.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.1111, allocations: 0 / 444.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.1111, allocations: 4 kB / 444.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000699/0.1118, allocations: 0.5653 MB / 444.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1119, allocations: 0 / 444.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1119, allocations: 4 kB / 444.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1119, allocations: 3.938 kB / 444.9 MB, free: 2.492 MB / 318.1 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.0004706/0.1124, allocations: 397.3 kB / 445.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1124, allocations: 11.89 kB / 445.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.1124, allocations: 4.938 kB / 445.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.684e-05/0.1125, allocations: 164.4 kB / 445.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1125, allocations: 384 / 445.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1125, allocations: 4.375 kB / 445.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.153e-05/0.1126, allocations: 30.02 kB / 445.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1127, allocations: 3.938 kB / 445.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1127, allocations: 0 / 445.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1127, allocations: 4 kB / 445.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.1127, allocations: 0 / 445.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.1128, allocations: 157.9 kB / 445.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.342e-05/0.1129, allocations: 18.61 kB / 445.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.1129, allocations: 8.859 kB / 445.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.1129, allocations: 0 / 445.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1129, allocations: 60.2 kB / 445.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.113, allocations: 0 / 445.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001659/0.1131, allocations: 71.39 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1132, allocations: 85.23 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.319e-05/0.1132, allocations: 89.86 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.1132, allocations: 25.7 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.097e-05/0.1132, allocations: 84.08 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.1132, allocations: 3.938 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.1133, allocations: 13.72 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.1133, allocations: 314.8 kB / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.1133, allocations: 0 / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.1133, allocations: 4 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.044e-05/0.1134, allocations: 64.27 kB / 446.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1134, allocations: 0 / 446.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.071e-05/0.1134, allocations: 63.34 kB / 446.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.1135, allocations: 37.62 kB / 446.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1135, allocations: 0 / 446.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1135, allocations: 0 / 446.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1135, allocations: 0 / 446.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1135, allocations: 4 kB / 446.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.1136, allocations: 4.094 kB / 446.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1136, allocations: 0 / 446.6 MB, free: 0.5273 MB / 318.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: 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 4.436e-05/0.1136, allocations: 139.5 kB / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.1136, allocations: 7.938 kB / 446.8 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-06/0.1137, allocations: 3.125 kB / 446.8 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1137, allocations: 0 / 446.8 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1137, allocations: 0 / 446.8 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1137, allocations: 7.984 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.695e-05/0.1137, allocations: 145.7 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1137, allocations: 4 kB / 446.9 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1137, allocations: 0 / 446.9 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1137, allocations: 3.938 kB / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1138, allocations: 0 / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1138, allocations: 0 / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1138, allocations: 3.938 kB / 446.9 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.048e-05/0.1138, allocations: 98.75 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.1139, allocations: 81.14 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1139, allocations: 3.938 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-06/0.1139, allocations: 4 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.1139, allocations: 3.984 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1139, allocations: 0 / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.114, allocations: 75.28 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.114, allocations: 3.938 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004766/0.1145, allocations: 136 kB / 447.3 MB, free: 15.71 MB / 334.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: 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.000613/0.1151, allocations: 250.9 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.551e-05/0.1152, allocations: 63.41 kB / 447.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1152, allocations: 0 / 447.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.1152, allocations: 59.34 kB / 447.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1154, allocations: 0 / 447.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.1156, allocations: 84.97 kB / 447.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1158, allocations: 0.669 MB / 448.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.44e-06/0.1159, allocations: 128 / 448.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.1159, allocations: 15.44 kB / 448.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1159, allocations: 0 / 448.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.00716/0.1231, allocations: 3.764 MB / 452.2 MB, free: 10.73 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches