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.0008685/0.0008686, allocations: 87.12 kB / 17.34 MB, free: 6.035 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.001042/0.001042, allocations: 167.7 kB / 18.25 MB, free: 5.391 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.487/1.487, allocations: 223.3 MB / 242.3 MB, free: 14.36 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.2064/0.2064, allocations: 44.25 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004433, allocations: 15.98 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 61.92 MB / 472.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0005914/0.135, allocations: 213.2 kB / 472.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1364, allocations: 0.7795 MB / 473.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.1364, allocations: 4 kB / 473.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.1364, allocations: 3.938 kB / 473.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.1364, allocations: 0 / 473.2 MB, free: 12.33 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.001428/0.1379, allocations: 0.5248 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.71e-05/0.1379, allocations: 3.984 kB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.1379, allocations: 7.984 kB / 473.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.308e-05/0.138, allocations: 0 / 473.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.473e-05/0.138, allocations: 0 / 473.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-06/0.138, allocations: 0 / 473.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005701/0.1386, allocations: 375.3 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-06/0.1386, allocations: 0 / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.1386, allocations: 29.69 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.1391, allocations: 327.4 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1391, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1391, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1391, allocations: 3.938 kB / 474.5 MB, free: 11.07 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.0003451/0.1394, allocations: 385.3 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1395, allocations: 8.031 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.1395, allocations: 4.938 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.75e-05/0.1396, allocations: 164.3 kB / 475 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1396, allocations: 384 / 475 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.1396, allocations: 4.375 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.17e-05/0.1397, allocations: 38.17 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1397, allocations: 192 / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1398, allocations: 3.938 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1398, allocations: 0 / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.1398, allocations: 4 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.1399, allocations: 149.7 kB / 475.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.223e-05/0.14, allocations: 18.61 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.14, allocations: 4.859 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-06/0.14, allocations: 0 / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.14, allocations: 64.19 kB / 475.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.14, allocations: 0 / 475.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.1402, allocations: 67.5 kB / 475.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1402, allocations: 81.14 kB / 475.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.19e-05/0.1403, allocations: 89.86 kB / 475.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1403, allocations: 29.7 kB / 475.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.1403, allocations: 80.14 kB / 475.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.1404, allocations: 0 / 475.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.1404, allocations: 13.7 kB / 475.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1405, allocations: 314.8 kB / 476 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-06/0.1405, allocations: 3.938 kB / 476 MB, free: 9.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.1405, allocations: 8 kB / 476 MB, free: 9.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.86e-05/0.1406, allocations: 60.2 kB / 476.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1406, allocations: 4 kB / 476.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.897e-05/0.1406, allocations: 59.39 kB / 476.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.1407, allocations: 33.7 kB / 476.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1407, allocations: 0 / 476.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1407, allocations: 7.938 kB / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.1407, allocations: 0 / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1407, allocations: 0 / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.1408, allocations: 4.094 kB / 476.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1408, allocations: 0 / 476.2 MB, free: 9.121 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.37e-05/0.1408, allocations: 139.5 kB / 476.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-06/0.1409, allocations: 0 / 476.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.222e-05/0.1409, allocations: 11.05 kB / 476.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1409, allocations: 0 / 476.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1409, allocations: 0 / 476.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1409, allocations: 4 kB / 476.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.957e-05/0.141, allocations: 141.7 kB / 476.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.141, allocations: 4 kB / 476.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.141, allocations: 7.875 kB / 476.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.141, allocations: 0 / 476.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.141, allocations: 7.922 kB / 476.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.141, allocations: 7.984 kB / 476.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.141, allocations: 0 / 476.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.206e-05/0.1411, allocations: 82.84 kB / 476.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.1412, allocations: 81.14 kB / 476.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1412, allocations: 11.92 kB / 476.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.1412, allocations: 0 / 476.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.1412, allocations: 0 / 476.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.1412, allocations: 0 / 476.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.467e-05/0.1413, allocations: 79.28 kB / 476.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1413, allocations: 4 kB / 476.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.1416, allocations: 71.98 kB / 476.8 MB, free: 8.371 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.0004908/0.1421, allocations: 229.3 kB / 477 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.319e-05/0.1422, allocations: 59.34 kB / 477.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1422, allocations: 0 / 477.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.1422, allocations: 59.41 kB / 477.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.1423, allocations: 0 / 477.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001728/0.1425, allocations: 78.66 kB / 477.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1428, allocations: 0.6692 MB / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.12e-06/0.1428, allocations: 0 / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-06/0.1428, allocations: 11.56 kB / 477.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1428, allocations: 4 kB / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of Templates: time 0.00469/0.1475, allocations: 1.826 MB / 479.7 MB, free: 5.363 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/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_4.0.0_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches