Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.54/1.54, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4207/0.4207, allocations: 43.55 MB / 314.5 MB, free: 9.012 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.0005258/0.0005258, allocations: 18.97 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1446, allocations: 58.86 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0005931/0.1452, allocations: 216.4 kB / 443 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005151/0.1458, allocations: 235.7 kB / 443.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1458, allocations: 3.938 kB / 443.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.1458, allocations: 0 / 443.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.294e-06/0.1458, allocations: 3.938 kB / 443.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1461, allocations: 39.88 kB / 443.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.874e-05/0.1462, allocations: 0 / 443.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.1462, allocations: 0 / 443.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.675e-05/0.1462, allocations: 0 / 443.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.1463, allocations: 11.92 kB / 443.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.1463, allocations: 0 / 443.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1464, allocations: 39.98 kB / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-06/0.1464, allocations: 3.938 kB / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.1465, allocations: 25.7 kB / 443.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.806e-05/0.1466, allocations: 47.86 kB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1466, allocations: 0 / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1466, allocations: 4 kB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1466, allocations: 0 / 443.4 MB, free: 12.68 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.0003126/0.1469, allocations: 353.1 kB / 443.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1469, allocations: 12.03 kB / 443.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.147, allocations: 4 kB / 443.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1471, allocations: 163 kB / 443.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1471, allocations: 0 / 443.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1471, allocations: 0 / 443.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.989e-05/0.1472, allocations: 33.69 kB / 443.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1473, allocations: 0 / 443.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1473, allocations: 0 / 443.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1473, allocations: 0 / 443.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.1473, allocations: 3.938 kB / 443.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.1474, allocations: 153.6 kB / 444.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.1475, allocations: 18.58 kB / 444.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.1475, allocations: 0 / 444.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.1476, allocations: 60.36 kB / 444.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1476, allocations: 0 / 444.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.1477, allocations: 71.23 kB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1478, allocations: 81.05 kB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.814e-05/0.1478, allocations: 97.98 kB / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1479, allocations: 25.7 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.1479, allocations: 80.14 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.1479, allocations: 0 / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.1479, allocations: 0 / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.148, allocations: 318.8 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-06/0.148, allocations: 3.984 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.148, allocations: 0 / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.1481, allocations: 29.77 kB / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1481, allocations: 4 kB / 444.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.88e-05/0.1482, allocations: 63.34 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.1482, allocations: 33.7 kB / 444.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1482, allocations: 3.984 kB / 444.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1482, allocations: 3.984 kB / 444.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.1482, allocations: 0 / 444.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1482, allocations: 0 / 444.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.1483, allocations: 0 / 444.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1483, allocations: 0 / 444.9 MB, free: 10.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.687e-05/0.1484, allocations: 151.5 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-06/0.1484, allocations: 0 / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-06/0.1484, allocations: 3.125 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1484, allocations: 0 / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1484, allocations: 4 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1484, allocations: 0 / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1485, allocations: 149.9 kB / 445.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.1485, allocations: 0 / 445.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-06/0.1485, allocations: 4 kB / 445.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1485, allocations: 0 / 445.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1486, allocations: 8 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1486, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1486, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.241e-05/0.1487, allocations: 94.77 kB / 445.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.1487, allocations: 85.06 kB / 445.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.1487, allocations: 0 / 445.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.1487, allocations: 0 / 445.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.1488, allocations: 7.969 kB / 445.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1488, allocations: 4 kB / 445.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.363e-05/0.1488, allocations: 79.27 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1488, allocations: 0 / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000199/0.149, allocations: 16 kB / 445.5 MB, free: 10.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004581/0.1495, allocations: 269.1 kB / 445.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.1496, allocations: 55.41 kB / 445.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1496, allocations: 0 / 445.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.1496, allocations: 59.39 kB / 445.9 MB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.406e-05/0.1497, allocations: 7.938 kB / 445.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001632/0.1499, allocations: 78.7 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1501, allocations: 0.677 MB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.99e-06/0.1501, allocations: 4.125 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-06/0.1501, allocations: 7.438 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1501, allocations: 0 / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of Templates: time 0.003015/0.1532, allocations: 0.769 MB / 447.5 MB, free: 8.164 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches