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.001139/0.001139, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 72.72 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 62.44 MB / 481.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001787/0.1236, allocations: 490.8 kB / 481.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1249, allocations: 0.7667 MB / 482.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.375e-05/0.1249, allocations: 0 / 482.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.1249, allocations: 0 / 482.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.03e-06/0.125, allocations: 0 / 482.7 MB, free: 3.285 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.001641/0.1266, allocations: 0.65 MB / 483.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.687e-05/0.1267, allocations: 3.984 kB / 483.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.1267, allocations: 4 kB / 483.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.761e-05/0.1267, allocations: 3.938 kB / 483.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.752e-05/0.1267, allocations: 4 kB / 483.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.1268, allocations: 0 / 483.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.1274, allocations: 402.8 kB / 483.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.1274, allocations: 0 / 483.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.1274, allocations: 0 / 483.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.1279, allocations: 351.3 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1279, allocations: 0 / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1279, allocations: 0 / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1279, allocations: 0 / 484.1 MB, free: 1.883 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.0003621/0.1283, allocations: 389.3 kB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1283, allocations: 12.03 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1284, allocations: 0.9375 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.225e-05/0.1284, allocations: 164.4 kB / 484.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1285, allocations: 384 / 484.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.1285, allocations: 384 / 484.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.832e-05/0.1286, allocations: 34.2 kB / 484.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1286, allocations: 192 / 484.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1286, allocations: 3.938 kB / 484.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1286, allocations: 0 / 484.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.1286, allocations: 4 kB / 484.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.1287, allocations: 153.7 kB / 484.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.839e-05/0.1288, allocations: 26.55 kB / 484.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.1288, allocations: 8.844 kB / 484.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.1288, allocations: 0 / 484.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.1289, allocations: 64.27 kB / 484.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1289, allocations: 0 / 484.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.129, allocations: 75.33 kB / 485 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.1291, allocations: 77.11 kB / 485.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.312e-05/0.1292, allocations: 89.86 kB / 485.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1292, allocations: 29.64 kB / 485.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.1292, allocations: 80.14 kB / 485.3 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1292, allocations: 0 / 485.3 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1293, allocations: 13.72 kB / 485.3 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1294, allocations: 315 kB / 485.6 MB, free: 136 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.1294, allocations: 4 kB / 485.6 MB, free: 132 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-06/0.1294, allocations: 4 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.1295, allocations: 64.2 kB / 485.7 MB, free: 48 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1295, allocations: 0 / 485.7 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.799e-05/0.1296, allocations: 59.41 kB / 485.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.1296, allocations: 33.69 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1296, allocations: 0 / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1296, allocations: 7.938 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1296, allocations: 4.094 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1296, allocations: 0 / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.1297, allocations: 0 / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.1297, allocations: 0 / 485.8 MB, free: 15.93 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 8.048e-05/0.1298, allocations: 139.5 kB / 485.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-06/0.1298, allocations: 0 / 485.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.197e-06/0.1298, allocations: 7.062 kB / 485.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1298, allocations: 0 / 485.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1298, allocations: 0 / 485.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1298, allocations: 7.984 kB / 485.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.671e-05/0.1299, allocations: 149.6 kB / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1299, allocations: 0 / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1299, allocations: 0 / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1299, allocations: 0 / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1299, allocations: 3.938 kB / 486.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1299, allocations: 0 / 486.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.13, allocations: 4 kB / 486.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.003e-05/0.13, allocations: 90.83 kB / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.1301, allocations: 77.11 kB / 486.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1301, allocations: 7.938 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-06/0.1301, allocations: 0 / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.1301, allocations: 7.922 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1301, allocations: 0 / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.62e-05/0.1302, allocations: 79.25 kB / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 0 / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1305, allocations: 79.98 kB / 486.4 MB, free: 15.18 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.0004599/0.131, allocations: 235.7 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.802e-05/0.131, allocations: 63.34 kB / 486.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1311, allocations: 0 / 486.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.1311, allocations: 59.39 kB / 486.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1312, allocations: 0 / 486.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001657/0.1314, allocations: 84.84 kB / 486.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1317, allocations: 0.673 MB / 487.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.29e-06/0.1317, allocations: 0 / 487.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.105e-05/0.1317, allocations: 11.44 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1317, allocations: 0 / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004655/0.1363, allocations: 1.928 MB / 489.5 MB, free: 12.05 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 cvode -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