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.001011/0.001011, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.127/1.127, allocations: 227.7 MB / 246.8 MB, free: 9.582 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1609/0.1609, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002073/0.0002073, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.08408, allocations: 63.55 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0004481/0.08456, allocations: 217.2 kB / 483.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.0856, allocations: 0.7764 MB / 484 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-06/0.08562, allocations: 0 / 484 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.426e-06/0.08563, allocations: 4 kB / 484.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.216e-06/0.08564, allocations: 0 / 484.1 MB, free: 3.152 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.001241/0.08689, allocations: 0.5998 MB / 484.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.218e-05/0.08692, allocations: 0 / 484.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.597e-05/0.08695, allocations: 11.94 kB / 484.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.259e-05/0.08697, allocations: 4 kB / 484.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.133e-05/0.08698, allocations: 0 / 484.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.997e-06/0.08699, allocations: 0 / 484.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.08749, allocations: 383.3 kB / 485 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-06/0.08751, allocations: 0 / 485 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.08754, allocations: 25.7 kB / 485.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.08791, allocations: 343.3 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.08792, allocations: 0 / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08793, allocations: 0 / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.08793, allocations: 4 kB / 485.4 MB, free: 1.789 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.0002781/0.08822, allocations: 385.3 kB / 485.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.08825, allocations: 8.875 kB / 485.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.019e-05/0.08828, allocations: 4.875 kB / 485.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.847e-05/0.08835, allocations: 160.4 kB / 486 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.08836, allocations: 4.375 kB / 486 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.08838, allocations: 4.375 kB / 486 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.23e-05/0.08844, allocations: 30.2 kB / 486 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-06/0.08846, allocations: 4.188 kB / 486 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.08847, allocations: 7.922 kB / 486 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.08848, allocations: 4 kB / 486 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.207e-05/0.08849, allocations: 0 / 486 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.865e-05/0.0886, allocations: 145.7 kB / 486.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.865e-05/0.08863, allocations: 22.55 kB / 486.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-06/0.08865, allocations: 4.859 kB / 486.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.08866, allocations: 0 / 486.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.08869, allocations: 64.2 kB / 486.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.0887, allocations: 3.984 kB / 486.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.08882, allocations: 71.39 kB / 486.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.08887, allocations: 81.11 kB / 486.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.846e-05/0.08891, allocations: 89.86 kB / 486.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.08892, allocations: 25.7 kB / 486.5 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.08895, allocations: 80.14 kB / 486.6 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.08897, allocations: 0 / 486.6 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.08899, allocations: 13.84 kB / 486.6 MB, free: 376 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.08907, allocations: 314.8 kB / 486.9 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-06/0.08909, allocations: 4 kB / 486.9 MB, free: 48 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.0891, allocations: 4 kB / 486.9 MB, free: 44 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.08915, allocations: 64.2 kB / 487 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.08916, allocations: 0 / 487 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.065e-05/0.08921, allocations: 55.41 kB / 487 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.08925, allocations: 37.78 kB / 487.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/0.08926, allocations: 4 kB / 487.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.08927, allocations: 3.938 kB / 487.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.08927, allocations: 0 / 487.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.08928, allocations: 3.984 kB / 487.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.0893, allocations: 0 / 487.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.08931, allocations: 4 kB / 487.1 MB, free: 15.84 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 6.614e-05/0.08938, allocations: 139.5 kB / 487.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-06/0.08939, allocations: 0 / 487.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-06/0.0894, allocations: 11.06 kB / 487.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.08941, allocations: 4 kB / 487.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.08942, allocations: 3.984 kB / 487.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.08942, allocations: 3.938 kB / 487.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.43e-05/0.0895, allocations: 141.7 kB / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.08951, allocations: 3.938 kB / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.08951, allocations: 0 / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.08952, allocations: 0 / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.08953, allocations: 11.92 kB / 487.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.08954, allocations: 3.938 kB / 487.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.08954, allocations: 0 / 487.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.954e-05/0.08961, allocations: 94.83 kB / 487.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.08965, allocations: 77.11 kB / 487.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.08967, allocations: 3.938 kB / 487.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-06/0.08968, allocations: 3.984 kB / 487.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-06/0.08969, allocations: 0 / 487.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.0897, allocations: 8 kB / 487.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.821e-05/0.08972, allocations: 75.28 kB / 487.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08973, allocations: 4.031 kB / 487.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.09, allocations: 79.98 kB / 487.7 MB, free: 15.08 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.0003801/0.09038, allocations: 221.5 kB / 487.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.09046, allocations: 55.41 kB / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.09047, allocations: 0 / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.09049, allocations: 59.41 kB / 488.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.0906, allocations: 4.125 kB / 488.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001189/0.09072, allocations: 86.59 kB / 488.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.09091, allocations: 0.6692 MB / 488.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.627e-06/0.09092, allocations: 3.938 kB / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-06/0.09093, allocations: 7.438 kB / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.09094, allocations: 0 / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Templates: time 0.003725/0.09466, allocations: 1.904 MB / 490.7 MB, free: 11.99 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches