Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.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.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001697/0.001705, allocations: 187.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001168/0.001168, allocations: 98.91 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2929/0.2929, allocations: 43.57 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004575, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1156, allocations: 58.85 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0006281/0.1163, allocations: 208.7 kB / 490.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.117, allocations: 239 kB / 490.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.117, allocations: 3.938 kB / 490.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.1171, allocations: 4 kB / 490.6 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.1171, allocations: 0 / 490.6 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1174, allocations: 47.81 kB / 490.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 2.942e-05/0.1174, allocations: 0 / 490.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.1175, allocations: 0 / 490.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.1175, allocations: 4 kB / 490.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.217e-05/0.1175, allocations: 0 / 490.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.1176, allocations: 0 / 490.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1177, allocations: 39.97 kB / 490.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.1177, allocations: 0 / 490.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1178, allocations: 29.64 kB / 490.8 MB, free: 8.785 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.1179, allocations: 51.88 kB / 490.8 MB, free: 8.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1179, allocations: 0 / 490.8 MB, free: 8.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1179, allocations: 0 / 490.8 MB, free: 8.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1179, allocations: 0 / 490.8 MB, free: 8.734 MB / 330.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.0003237/0.1183, allocations: 353.1 kB / 491.2 MB, free: 8.336 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1183, allocations: 8.031 kB / 491.2 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1184, allocations: 0 / 491.2 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1185, allocations: 167 kB / 491.3 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1185, allocations: 0 / 491.3 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1185, allocations: 4 kB / 491.3 MB, free: 8.121 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.128e-05/0.1186, allocations: 33.69 kB / 491.4 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1186, allocations: 0 / 491.4 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-06/0.1186, allocations: 0 / 491.4 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1187, allocations: 0 / 491.4 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/0.1187, allocations: 11.94 kB / 491.4 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.1189, allocations: 145.6 kB / 491.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.1189, allocations: 14.67 kB / 491.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.1189, allocations: 8 kB / 491.5 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.119, allocations: 56.27 kB / 491.6 MB, free: 7.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.119, allocations: 0 / 491.6 MB, free: 7.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001804/0.1192, allocations: 71.33 kB / 491.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.1193, allocations: 84.98 kB / 491.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.1194, allocations: 89.86 kB / 491.8 MB, free: 7.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1194, allocations: 25.7 kB / 491.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.1195, allocations: 150.7 kB / 492 MB, free: 7.316 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.1195, allocations: 8 kB / 492 MB, free: 7.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.1195, allocations: 0 / 492 MB, free: 7.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1196, allocations: 310.8 kB / 492.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.1197, allocations: 7.984 kB / 492.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.1197, allocations: 0 / 492.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.1197, allocations: 29.7 kB / 492.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1197, allocations: 0 / 492.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.12e-05/0.1198, allocations: 63.36 kB / 492.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.1199, allocations: 37.23 kB / 492.5 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1199, allocations: 0 / 492.5 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1199, allocations: 3.984 kB / 492.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.1199, allocations: 3.938 kB / 492.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1199, allocations: 0 / 492.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.12, allocations: 0 / 492.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.12, allocations: 4 kB / 492.5 MB, free: 6.828 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.532e-05/0.1201, allocations: 139.5 kB / 492.6 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.1201, allocations: 7.953 kB / 492.6 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.1201, allocations: 7.125 kB / 492.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1202, allocations: 0 / 492.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1202, allocations: 0 / 492.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1202, allocations: 0 / 492.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.1203, allocations: 145.7 kB / 492.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1203, allocations: 0 / 492.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-06/0.1203, allocations: 4 kB / 492.8 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1203, allocations: 3.953 kB / 492.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1203, allocations: 4 kB / 492.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1204, allocations: 0 / 492.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1204, allocations: 0 / 492.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1205, allocations: 98.81 kB / 492.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.1206, allocations: 81.05 kB / 493 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1206, allocations: 3.953 kB / 493 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.1206, allocations: 0 / 493 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.1206, allocations: 7.938 kB / 493 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1206, allocations: 0 / 493 MB, free: 6.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.474e-05/0.1207, allocations: 75.28 kB / 493 MB, free: 6.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1207, allocations: 4.031 kB / 493 MB, free: 6.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.121, allocations: 27.98 kB / 493.1 MB, free: 6.121 MB / 330.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 (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.0006496/0.1217, allocations: 268.6 kB / 493.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.1218, allocations: 63.41 kB / 493.4 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1218, allocations: 4.062 kB / 493.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.512e-05/0.1219, allocations: 59.39 kB / 493.5 MB, free: 5.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.712e-05/0.122, allocations: 0 / 493.5 MB, free: 5.738 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.1222, allocations: 96.47 kB / 493.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1225, allocations: 0.6809 MB / 494.2 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/0.1225, allocations: 7.438 kB / 494.2 MB, free: 4.895 MB / 330.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1225, allocations: 0 / 494.2 MB, free: 4.895 MB / 330.7 MB Notification: Performance of Templates: time 0.00338/0.1259, allocations: 0.9911 MB / 495.2 MB, free: 3.902 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches