Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 97.55 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3581/0.3581, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000995/0.000995, allocations: 63.91 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001823/0.1204, allocations: 0.5541 MB / 487.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1224, allocations: 1.279 MB / 488.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.427e-05/0.1224, allocations: 0 / 488.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.1224, allocations: 0 / 488.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.1226, allocations: 7.984 kB / 488.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.1235, allocations: 199.5 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.92e-05/0.1236, allocations: 4 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.1236, allocations: 4 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.1237, allocations: 11.92 kB / 489.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.1238, allocations: 7.984 kB / 489.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.1238, allocations: 0 / 489.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.1266, allocations: 0.6138 MB / 489.7 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.1267, allocations: 0 / 489.7 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.1267, allocations: 7.984 kB / 489.7 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1269, allocations: 175.6 kB / 489.9 MB, free: 9.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.127, allocations: 0 / 489.9 MB, free: 9.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.127, allocations: 0 / 489.9 MB, free: 9.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.127, allocations: 0 / 489.9 MB, free: 9.75 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.0003752/0.1273, allocations: 389.1 kB / 490.2 MB, free: 9.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1274, allocations: 8.031 kB / 490.2 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.1274, allocations: 12.94 kB / 490.3 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1275, allocations: 164.4 kB / 490.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1276, allocations: 384 / 490.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.1276, allocations: 4.375 kB / 490.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1277, allocations: 37.81 kB / 490.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1277, allocations: 0 / 490.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1277, allocations: 3.938 kB / 490.5 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1277, allocations: 0 / 490.5 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.1277, allocations: 4 kB / 490.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.1279, allocations: 149.7 kB / 490.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.1279, allocations: 22.61 kB / 490.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.1279, allocations: 4.859 kB / 490.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.1279, allocations: 0 / 490.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.128, allocations: 60.2 kB / 490.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.128, allocations: 64 / 490.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.1281, allocations: 75.33 kB / 490.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1282, allocations: 81.11 kB / 490.8 MB, free: 8.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.1283, allocations: 93.86 kB / 490.9 MB, free: 8.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1283, allocations: 25.7 kB / 491 MB, free: 8.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.1283, allocations: 80.14 kB / 491 MB, free: 8.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1283, allocations: 0 / 491 MB, free: 8.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.1284, allocations: 17.7 kB / 491.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1285, allocations: 315.1 kB / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.1285, allocations: 4 kB / 491.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.1285, allocations: 7.938 kB / 491.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.1286, allocations: 60.2 kB / 491.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1286, allocations: 7.938 kB / 491.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.495e-05/0.1286, allocations: 71.23 kB / 491.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.1287, allocations: 33.7 kB / 491.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1287, allocations: 0 / 491.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1287, allocations: 0 / 491.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1287, allocations: 4.094 kB / 491.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1287, allocations: 0 / 491.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.1287, allocations: 4 kB / 491.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1288, allocations: 0 / 491.6 MB, free: 7.773 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 7.051e-05/0.1288, allocations: 131.5 kB / 491.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.1288, allocations: 7.938 kB / 491.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.017e-05/0.1289, allocations: 7.109 kB / 491.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.1289, allocations: 0 / 491.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1289, allocations: 0 / 491.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1289, allocations: 4 kB / 491.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.001e-05/0.129, allocations: 149.7 kB / 491.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.129, allocations: 3.984 kB / 491.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-06/0.129, allocations: 3.938 kB / 491.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.129, allocations: 0 / 491.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.129, allocations: 4 kB / 491.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.129, allocations: 3.938 kB / 491.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.129, allocations: 0 / 491.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1293, allocations: 0.6413 MB / 492.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.1293, allocations: 77.11 kB / 492.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1294, allocations: 7.984 kB / 492.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.1294, allocations: 0 / 492.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.1294, allocations: 4 kB / 492.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1294, allocations: 0 / 492.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.087e-05/0.1294, allocations: 75.28 kB / 492.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1294, allocations: 4.125 kB / 492.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.1298, allocations: 71.92 kB / 492.7 MB, free: 6.438 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.0005444/0.1304, allocations: 329.8 kB / 493.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.1305, allocations: 63.41 kB / 493.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1305, allocations: 0 / 493.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.1305, allocations: 63.39 kB / 493.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.1306, allocations: 0 / 493.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.1309, allocations: 185.4 kB / 493.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.1311, allocations: 0.6808 MB / 494.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.27e-06/0.1311, allocations: 0 / 494.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-06/0.1311, allocations: 7.562 kB / 494.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1311, allocations: 4 kB / 494.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of Templates: time 0.003765/0.1349, allocations: 1.58 MB / 495.6 MB, free: 3.438 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches