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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 104.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3475/0.3475, allocations: 44.82 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3163, allocations: 62.01 MB / 0.5151 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001536/0.3179, allocations: 0.5454 MB / 0.5157 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3193, allocations: 0.7808 MB / 0.5164 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.319e-05/0.3193, allocations: 0 / 0.5164 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.3193, allocations: 7.938 kB / 0.5165 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.3193, allocations: 0 / 0.5165 GB, free: 36.9 MB / 378.7 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.001534/0.3209, allocations: 0.6228 MB / 0.5171 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.925e-05/0.3209, allocations: 3.984 kB / 0.5171 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.321, allocations: 3.234 kB / 0.5171 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.321, allocations: 6.781 kB / 0.5171 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.039e-05/0.321, allocations: 0 / 0.5171 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.321, allocations: 4 kB / 0.5171 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006266/0.3217, allocations: 374.1 kB / 0.5174 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.3217, allocations: 2.781 kB / 0.5174 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.3217, allocations: 7.984 kB / 0.5174 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.3222, allocations: 343 kB / 0.5178 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3222, allocations: 0 / 0.5178 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3222, allocations: 0 / 0.5178 GB, free: 36.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3222, allocations: 0 / 0.5178 GB, free: 36.33 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.0003799/0.3226, allocations: 385 kB / 0.5181 GB, free: 35.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.3227, allocations: 12.41 kB / 0.5181 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.3227, allocations: 0.9375 kB / 0.5181 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.3228, allocations: 164.3 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3228, allocations: 384 / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3229, allocations: 3.219 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.791e-05/0.323, allocations: 28.77 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.323, allocations: 192 / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.323, allocations: 3.938 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.323, allocations: 0 / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.323, allocations: 6.375 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.3232, allocations: 153.2 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.3232, allocations: 17.08 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/0.3233, allocations: 4.859 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.3233, allocations: 3 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3233, allocations: 60.2 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.3233, allocations: 3.984 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001746/0.3235, allocations: 82.47 kB / 0.5187 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3235, allocations: 77.11 kB / 0.5187 GB, free: 35.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.396e-05/0.3236, allocations: 89.86 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3236, allocations: 25.7 kB / 0.5188 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.521e-05/0.3236, allocations: 83.08 kB / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3236, allocations: 0 / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.3237, allocations: 13.72 kB / 0.5189 GB, free: 34.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.3237, allocations: 317.2 kB / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.3237, allocations: 4 kB / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.3238, allocations: 0 / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.3238, allocations: 59.17 kB / 0.5193 GB, free: 34.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3238, allocations: 2.938 kB / 0.5193 GB, free: 34.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.97e-05/0.3239, allocations: 68.19 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.3239, allocations: 31.67 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3239, allocations: 0 / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3239, allocations: 3.938 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.3239, allocations: 4.094 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3239, allocations: 0 / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.324, allocations: 2.906 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.324, allocations: 0 / 0.5194 GB, free: 34.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.324, allocations: 137.7 kB / 0.5195 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.324, allocations: 0 / 0.5195 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.014e-05/0.3241, allocations: 7.062 kB / 0.5195 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3241, allocations: 0 / 0.5195 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3241, allocations: 0 / 0.5195 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3241, allocations: 6.844 kB / 0.5195 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.376e-05/0.3241, allocations: 145 kB / 0.5197 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3241, allocations: 0 / 0.5197 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3241, allocations: 0 / 0.5197 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3242, allocations: 2.625 kB / 0.5197 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3242, allocations: 3.938 kB / 0.5197 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3242, allocations: 4 kB / 0.5197 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3242, allocations: 0 / 0.5197 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.3244, allocations: 0.6407 MB / 0.5203 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.3244, allocations: 85.05 kB / 0.5204 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.3244, allocations: 0 / 0.5204 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-06/0.3245, allocations: 0 / 0.5204 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.3245, allocations: 3.031 kB / 0.5204 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3245, allocations: 0 / 0.5204 GB, free: 33.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.395e-05/0.3245, allocations: 75.28 kB / 0.5205 GB, free: 33.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3245, allocations: 3.938 kB / 0.5205 GB, free: 33.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004722/0.325, allocations: 91.25 kB / 0.5206 GB, free: 33.24 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 (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.0004712/0.3255, allocations: 222.8 kB / 0.5208 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.81e-05/0.3255, allocations: 54.34 kB / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3256, allocations: 2.906 kB / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.3256, allocations: 54.09 kB / 0.5209 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.3257, allocations: 10.77 kB / 0.5209 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.3259, allocations: 186.4 kB / 0.5211 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.3261, allocations: 0.6692 MB / 0.5217 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.322e-06/0.3261, allocations: 6.812 kB / 0.5217 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-06/0.3261, allocations: 7.438 kB / 0.5217 GB, free: 32.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3261, allocations: 0 / 0.5217 GB, free: 32.06 MB / 378.7 MB Notification: Performance of Templates: time 0.004167/0.3303, allocations: 1.917 MB / 0.5236 GB, free: 31.88 MB / 378.7 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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches