Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008914/0.008914, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001822/0.001822, allocations: 194.3 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3616/0.3616, allocations: 43.5 MB / 313.5 MB, free: 8.25 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 67.91 kB / 382 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1327, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.002605/0.1354, allocations: 0.5503 MB / 440.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.1385, allocations: 2 MB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.1386, allocations: 3.938 kB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.1387, allocations: 0 / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.775e-06/0.1387, allocations: 4 kB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.1407, allocations: 0.6465 MB / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.991e-05/0.1407, allocations: 0 / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.1408, allocations: 8 kB / 443 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.757e-05/0.1408, allocations: 0 / 443 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.073e-05/0.1408, allocations: 3.984 kB / 443 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.142e-06/0.1408, allocations: 4 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009641/0.1418, allocations: 0.6317 MB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.1418, allocations: 3.984 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.1419, allocations: 4 kB / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007073/0.1426, allocations: 0.5652 MB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1426, allocations: 0 / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1426, allocations: 0 / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1426, allocations: 0 / 444.2 MB, free: 10.16 MB / 382.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.0005477/0.1432, allocations: 409.1 kB / 444.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1432, allocations: 12.03 kB / 444.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.1433, allocations: 4.938 kB / 444.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1434, allocations: 160.4 kB / 444.8 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1434, allocations: 384 / 444.8 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1434, allocations: 384 / 444.8 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1436, allocations: 38.02 kB / 444.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1436, allocations: 3.938 kB / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1436, allocations: 0 / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1436, allocations: 4 kB / 444.9 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.1436, allocations: 0 / 444.9 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.1438, allocations: 149.7 kB / 445 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.1438, allocations: 18.56 kB / 445 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.1439, allocations: 8.953 kB / 445 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-06/0.1439, allocations: 0 / 445 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.1439, allocations: 64.2 kB / 445.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.224e-06/0.1439, allocations: 7.938 kB / 445.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002102/0.1442, allocations: 71.31 kB / 445.2 MB, free: 9.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1442, allocations: 77.11 kB / 445.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/0.1443, allocations: 89.86 kB / 445.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1443, allocations: 25.7 kB / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.1443, allocations: 80.14 kB / 445.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1444, allocations: 4 kB / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.1444, allocations: 13.72 kB / 445.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1445, allocations: 319 kB / 445.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.1446, allocations: 0 / 445.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.1446, allocations: 4 kB / 445.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.1446, allocations: 64.2 kB / 445.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1447, allocations: 0 / 445.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.617e-05/0.1447, allocations: 59.41 kB / 445.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1448, allocations: 41.62 kB / 445.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1448, allocations: 0 / 445.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1448, allocations: 4.094 kB / 445.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.1448, allocations: 0 / 445.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1448, allocations: 0 / 445.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.1448, allocations: 0 / 445.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1449, allocations: 3.938 kB / 445.9 MB, free: 8.184 MB / 382.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 0.0001037/0.145, allocations: 135.8 kB / 446.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.145, allocations: 3.938 kB / 446.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.469e-05/0.145, allocations: 3.125 kB / 446.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.145, allocations: 4 kB / 446.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.145, allocations: 4 kB / 446.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.145, allocations: 3.984 kB / 446.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1451, allocations: 141.7 kB / 446.2 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1452, allocations: 0 / 446.2 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1452, allocations: 0 / 446.2 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1452, allocations: 3.938 kB / 446.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1452, allocations: 7.938 kB / 446.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1452, allocations: 0 / 446.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1452, allocations: 4 kB / 446.2 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.887e-05/0.1453, allocations: 98.83 kB / 446.3 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1454, allocations: 81.05 kB / 446.4 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1454, allocations: 3.938 kB / 446.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.1454, allocations: 0 / 446.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.1454, allocations: 3.984 kB / 446.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.1454, allocations: 4 kB / 446.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.1455, allocations: 75.28 kB / 446.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1455, allocations: 0 / 446.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.146, allocations: 132 kB / 446.6 MB, free: 7.379 MB / 382.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.0007239/0.1467, allocations: 266.8 kB / 446.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1468, allocations: 59.34 kB / 447 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1468, allocations: 0 / 447 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.1468, allocations: 55.41 kB / 447 MB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.147, allocations: 7.938 kB / 447 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.1472, allocations: 82.88 kB / 447.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1475, allocations: 0.677 MB / 447.8 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.332e-06/0.1475, allocations: 0 / 447.8 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.1475, allocations: 7.438 kB / 447.8 MB, free: 6.156 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1475, allocations: 0 / 447.8 MB, free: 6.156 MB / 382.1 MB Notification: Performance of Templates: time 0.007351/0.1549, allocations: 3.761 MB / 451.5 MB, free: 2.391 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches