Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001387, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2029/0.2029, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.88 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1148, allocations: 62.45 MB / 481.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001588/0.1164, allocations: 490.8 kB / 481.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1177, allocations: 0.7552 MB / 482.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.1177, allocations: 0 / 482.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.1177, allocations: 0 / 482.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.148e-06/0.1177, allocations: 0 / 482.7 MB, free: 3.316 MB / 350.1 MB [/home/hudson/saved_omc/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.001618/0.1193, allocations: 0.6616 MB / 483.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.994e-05/0.1194, allocations: 0 / 483.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.1195, allocations: 4 kB / 483.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.1195, allocations: 0 / 483.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.985e-05/0.1195, allocations: 3.984 kB / 483.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.134e-06/0.1195, allocations: 3.938 kB / 483.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006285/0.1201, allocations: 395.3 kB / 483.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-06/0.1202, allocations: 0 / 483.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.1202, allocations: 0 / 483.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.1206, allocations: 351.3 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1206, allocations: 0 / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1206, allocations: 0 / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1206, allocations: 0 / 484.1 MB, free: 1.91 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.0003786/0.121, allocations: 389.3 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1211, allocations: 8.031 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.1211, allocations: 8.938 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/0.1212, allocations: 164.4 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1212, allocations: 384 / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1212, allocations: 384 / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.413e-05/0.1213, allocations: 38.19 kB / 484.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1213, allocations: 4.188 kB / 484.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1214, allocations: 7.875 kB / 484.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1214, allocations: 0 / 484.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.1214, allocations: 0 / 484.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.1215, allocations: 141.7 kB / 484.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.492e-05/0.1216, allocations: 26.61 kB / 484.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.1216, allocations: 8.859 kB / 484.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.1216, allocations: 0 / 484.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.1217, allocations: 68.25 kB / 484.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1217, allocations: 0 / 484.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.1218, allocations: 63.34 kB / 485 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1219, allocations: 77.11 kB / 485.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.391e-05/0.1219, allocations: 93.86 kB / 485.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1219, allocations: 25.7 kB / 485.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.122, allocations: 88.25 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.122, allocations: 0 / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.122, allocations: 13.72 kB / 485.3 MB, free: 488 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1221, allocations: 310.8 kB / 485.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.1221, allocations: 0 / 485.6 MB, free: 168 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.1222, allocations: 0 / 485.6 MB, free: 168 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.1222, allocations: 68.2 kB / 485.7 MB, free: 84 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1222, allocations: 4.062 kB / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.193e-05/0.1223, allocations: 63.39 kB / 485.7 MB, free: 4 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.1223, allocations: 29.7 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1223, allocations: 0 / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1224, allocations: 7.938 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1224, allocations: 0 / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1224, allocations: 3.938 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.1224, allocations: 0 / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1224, allocations: 0 / 485.8 MB, free: 15.96 MB / 366.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 7.681e-05/0.1225, allocations: 143.6 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.1225, allocations: 0 / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.012e-05/0.1225, allocations: 7.062 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1225, allocations: 0 / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1225, allocations: 0 / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1225, allocations: 0 / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.046e-05/0.1226, allocations: 153.6 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1226, allocations: 3.938 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/0.1227, allocations: 3.984 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.1227, allocations: 0 / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1227, allocations: 3.938 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1227, allocations: 4 kB / 486.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1227, allocations: 4 kB / 486.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.615e-05/0.1228, allocations: 86.84 kB / 486.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.1228, allocations: 85.08 kB / 486.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1228, allocations: 7.938 kB / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.1229, allocations: 0 / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.1229, allocations: 0 / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1229, allocations: 4.031 kB / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.357e-05/0.1229, allocations: 75.31 kB / 486.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1229, allocations: 0 / 486.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1232, allocations: 79.98 kB / 486.4 MB, free: 15.2 MB / 366.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.00046/0.1237, allocations: 228 kB / 486.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.183e-05/0.1238, allocations: 71.33 kB / 486.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1238, allocations: 4.062 kB / 486.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.1238, allocations: 51.41 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.124, allocations: 9.047 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001593/0.1241, allocations: 84.84 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1244, allocations: 0.6729 MB / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.249e-06/0.1244, allocations: 0 / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-06/0.1244, allocations: 7.438 kB / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.435e-06/0.1244, allocations: 4 kB / 487.5 MB, free: 14 MB / 366.1 MB Notification: Performance of Templates: time 0.004535/0.1289, allocations: 1.923 MB / 489.5 MB, free: 12.08 MB / 366.1 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches