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.001221/0.001221, allocations: 177.2 kB / 16.41 MB, free: 5.703 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.721/1.721, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007964/0.0007961, allocations: 92.98 kB / 270.9 MB, free: 8.355 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.3377/0.3377, allocations: 43.56 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003764, allocations: 16 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1172, allocations: 58.83 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0004751/0.1177, allocations: 212.5 kB / 490.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004783/0.1182, allocations: 240.9 kB / 490.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-06/0.1182, allocations: 0 / 490.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.671e-06/0.1182, allocations: 0 / 490.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.056e-06/0.1182, allocations: 0 / 490.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.1185, allocations: 47.89 kB / 490.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.148e-05/0.1185, allocations: 0 / 490.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.714e-05/0.1185, allocations: 0 / 490.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.988e-06/0.1185, allocations: 0 / 490.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.412e-05/0.1186, allocations: 3.938 kB / 490.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.1186, allocations: 0 / 490.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1187, allocations: 55.95 kB / 490.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-06/0.1187, allocations: 4 kB / 490.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.1187, allocations: 25.7 kB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.593e-05/0.1188, allocations: 43.94 kB / 490.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.1188, allocations: 3.938 kB / 490.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1188, allocations: 0 / 490.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.1188, allocations: 0 / 490.8 MB, free: 10.62 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.0002151/0.1191, allocations: 357.1 kB / 491.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1191, allocations: 8.031 kB / 491.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.1191, allocations: 0 / 491.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/0.1192, allocations: 167 kB / 491.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1192, allocations: 3.984 kB / 491.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.1192, allocations: 4 kB / 491.4 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.287e-05/0.1193, allocations: 29.64 kB / 491.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-06/0.1193, allocations: 0 / 491.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.1193, allocations: 0 / 491.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-06/0.1193, allocations: 0 / 491.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.374e-05/0.1193, allocations: 7.984 kB / 491.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.1195, allocations: 145.6 kB / 491.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.982e-05/0.1195, allocations: 26.61 kB / 491.6 MB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.808e-06/0.1195, allocations: 4.859 kB / 491.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-06/0.1195, allocations: 0 / 491.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.1196, allocations: 60.2 kB / 491.6 MB, free: 9.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1196, allocations: 0 / 491.6 MB, free: 9.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001189/0.1197, allocations: 71.34 kB / 491.7 MB, free: 9.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1198, allocations: 81.23 kB / 491.8 MB, free: 9.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.694e-05/0.1198, allocations: 97.86 kB / 491.9 MB, free: 9.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1198, allocations: 25.7 kB / 491.9 MB, free: 9.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.1199, allocations: 81.31 kB / 492 MB, free: 9.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.1199, allocations: 0 / 492 MB, free: 9.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-06/0.1199, allocations: 3.938 kB / 492 MB, free: 9.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.12, allocations: 314.8 kB / 492.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.12, allocations: 0 / 492.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.12, allocations: 7.984 kB / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.12, allocations: 29.77 kB / 492.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1201, allocations: 0 / 492.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.477e-05/0.1201, allocations: 67.34 kB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.1202, allocations: 29.7 kB / 492.4 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1202, allocations: 0 / 492.4 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-06/0.1202, allocations: 0 / 492.4 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.364e-06/0.1202, allocations: 11.92 kB / 492.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.1202, allocations: 0 / 492.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.1202, allocations: 0 / 492.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.1202, allocations: 0 / 492.4 MB, free: 8.766 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.1203, allocations: 147.5 kB / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.1203, allocations: 0 / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-06/0.1203, allocations: 3.125 kB / 492.6 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1203, allocations: 0 / 492.6 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1203, allocations: 0 / 492.6 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-06/0.1203, allocations: 0 / 492.6 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.511e-05/0.1204, allocations: 153.6 kB / 492.7 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1204, allocations: 0 / 492.7 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1205, allocations: 0 / 492.7 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1205, allocations: 4 kB / 492.7 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-06/0.1205, allocations: 0 / 492.7 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1205, allocations: 0 / 492.7 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1205, allocations: 0 / 492.7 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.1206, allocations: 102.8 kB / 492.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.1206, allocations: 81.06 kB / 492.9 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.1206, allocations: 4 kB / 492.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-06/0.1206, allocations: 0 / 492.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-06/0.1207, allocations: 4.031 kB / 492.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1207, allocations: 0 / 492.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.645e-05/0.1207, allocations: 75.28 kB / 493 MB, free: 8.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1207, allocations: 0 / 493 MB, free: 8.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.1209, allocations: 23.98 kB / 493 MB, free: 8.07 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 (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.0003869/0.1213, allocations: 282.3 kB / 493.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.198e-05/0.1214, allocations: 59.34 kB / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.1214, allocations: 0 / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.1214, allocations: 59.39 kB / 493.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.612e-05/0.1215, allocations: 0 / 493.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001468/0.1217, allocations: 104.5 kB / 493.5 MB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.1219, allocations: 0.6731 MB / 494.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-06/0.1219, allocations: 11.56 kB / 494.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.1219, allocations: 3.938 kB / 494.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of Templates: time 0.001995/0.1239, allocations: 0.9597 MB / 495.2 MB, free: 5.867 MB / 378.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/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_cpp_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches