Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001654, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001554/0.001554, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2033/0.2033, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 60.31 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1042, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001715/0.106, allocations: 491.7 kB / 470.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1073, allocations: 0.7744 MB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.1073, allocations: 0 / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.1073, allocations: 0 / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-06/0.1073, allocations: 3.938 kB / 471.2 MB, free: 13.12 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001519/0.1089, allocations: 0.5743 MB / 471.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.845e-05/0.1089, allocations: 8 kB / 471.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.109, allocations: 4 kB / 471.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.109, allocations: 3.938 kB / 471.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.589e-05/0.109, allocations: 0 / 471.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.84e-06/0.109, allocations: 4 kB / 471.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006257/0.1096, allocations: 375.2 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-06/0.1097, allocations: 0 / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.1097, allocations: 0 / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.1101, allocations: 335.4 kB / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1102, allocations: 0 / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1102, allocations: 3.938 kB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1102, allocations: 0 / 472.5 MB, free: 11.82 MB / 350.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.0003683/0.1105, allocations: 385.2 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1106, allocations: 12.03 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.1106, allocations: 0.9375 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.43e-05/0.1107, allocations: 164.4 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1107, allocations: 384 / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-06/0.1107, allocations: 384 / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.842e-05/0.1108, allocations: 30.25 kB / 473 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1108, allocations: 4.188 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1109, allocations: 3.938 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1109, allocations: 0 / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.1109, allocations: 7.984 kB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.111, allocations: 145.7 kB / 473.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.1111, allocations: 26.53 kB / 473.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.1111, allocations: 4.859 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.1111, allocations: 0 / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.1111, allocations: 60.33 kB / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1111, allocations: 0 / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.1113, allocations: 75.28 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1114, allocations: 81.09 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.51e-05/0.1114, allocations: 89.86 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1114, allocations: 25.7 kB / 473.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.1115, allocations: 80.14 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.1115, allocations: 0 / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.1115, allocations: 17.72 kB / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1116, allocations: 310.8 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.1116, allocations: 4.125 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.1117, allocations: 0 / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.1117, allocations: 60.27 kB / 474 MB, free: 10.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1117, allocations: 0 / 474 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.57e-05/0.1118, allocations: 71.33 kB / 474.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.1118, allocations: 29.7 kB / 474.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1118, allocations: 7.922 kB / 474.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1119, allocations: 11.88 kB / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1119, allocations: 0 / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1119, allocations: 4.094 kB / 474.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.1119, allocations: 0 / 474.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1119, allocations: 0 / 474.1 MB, free: 9.871 MB / 350.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 8.186e-05/0.112, allocations: 139.5 kB / 474.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.112, allocations: 0 / 474.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.089e-05/0.112, allocations: 7.062 kB / 474.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.112, allocations: 0 / 474.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.112, allocations: 4 kB / 474.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.112, allocations: 0 / 474.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.838e-05/0.1121, allocations: 153.7 kB / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1121, allocations: 0 / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1122, allocations: 0 / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1122, allocations: 0 / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1122, allocations: 3.938 kB / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1122, allocations: 0 / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1122, allocations: 0 / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.294e-05/0.1123, allocations: 94.77 kB / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.1123, allocations: 89.05 kB / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1123, allocations: 7.938 kB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-06/0.1124, allocations: 0 / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-06/0.1124, allocations: 0 / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.1124, allocations: 3.984 kB / 474.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.303e-05/0.1124, allocations: 75.28 kB / 474.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1124, allocations: 0 / 474.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.1127, allocations: 83.98 kB / 474.8 MB, free: 9.113 MB / 350.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.0004916/0.1132, allocations: 218.9 kB / 475 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.669e-05/0.1133, allocations: 59.39 kB / 475.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1134, allocations: 0 / 475.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.1134, allocations: 63.34 kB / 475.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1135, allocations: 6.281 kB / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.1137, allocations: 102.6 kB / 475.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.114, allocations: 0.6768 MB / 475.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.051e-05/0.114, allocations: 11.56 kB / 475.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.114, allocations: 0 / 475.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of Templates: time 0.003525/0.1175, allocations: 1.705 MB / 477.6 MB, free: 6.195 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches