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.001083/0.001083, allocations: 107.9 kB / 17.03 MB, free: 5.66 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.001104/0.001104, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.399/1.399, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2192/0.2192, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 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.001415/0.001415, allocations: 69.61 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1076, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001568/0.1092, allocations: 492.5 kB / 442.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005084/0.1097, allocations: 251.9 kB / 442.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.1097, allocations: 0 / 442.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.1098, allocations: 0 / 442.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.1098, allocations: 0 / 442.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1101, allocations: 59.75 kB / 442.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.1102, allocations: 4 kB / 442.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.1102, allocations: 0 / 442.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.1102, allocations: 4 kB / 442.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.148e-05/0.1102, allocations: 3.984 kB / 442.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.1103, allocations: 0 / 442.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1104, allocations: 67.95 kB / 442.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.1104, allocations: 0 / 442.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.1104, allocations: 3.984 kB / 442.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.1106, allocations: 55.88 kB / 442.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1106, allocations: 0 / 442.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1106, allocations: 4 kB / 442.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1106, allocations: 0 / 442.9 MB, free: 5.242 MB / 318.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.0002347/0.1108, allocations: 357.3 kB / 443.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1109, allocations: 11.89 kB / 443.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.1109, allocations: 4.844 kB / 443.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.78e-05/0.111, allocations: 160.4 kB / 443.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.111, allocations: 8.375 kB / 443.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.111, allocations: 384 / 443.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.416e-05/0.1111, allocations: 30.25 kB / 443.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1111, allocations: 4.125 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1111, allocations: 7.938 kB / 443.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.1111, allocations: 4 kB / 443.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.1111, allocations: 0 / 443.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.773e-05/0.1112, allocations: 145.7 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.143e-05/0.1113, allocations: 18.61 kB / 443.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.1113, allocations: 8.844 kB / 443.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.1113, allocations: 0 / 443.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1113, allocations: 64.14 kB / 443.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1113, allocations: 8.062 kB / 443.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000145/0.1115, allocations: 67.28 kB / 443.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.1115, allocations: 81.11 kB / 443.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.405e-05/0.1115, allocations: 93.84 kB / 443.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.1116, allocations: 25.7 kB / 444 MB, free: 3.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.188e-05/0.1116, allocations: 80.14 kB / 444 MB, free: 3.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.1116, allocations: 0 / 444 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.1116, allocations: 13.72 kB / 444 MB, free: 3.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.1117, allocations: 319 kB / 444.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.1117, allocations: 0 / 444.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.1117, allocations: 0 / 444.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.1117, allocations: 64.2 kB / 444.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1117, allocations: 0 / 444.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.916e-05/0.1118, allocations: 63.39 kB / 444.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1118, allocations: 29.7 kB / 444.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1118, allocations: 0 / 444.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1118, allocations: 12.03 kB / 444.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1118, allocations: 0 / 444.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1119, allocations: 0 / 444.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.1119, allocations: 3.938 kB / 444.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1119, allocations: 0 / 444.5 MB, free: 3.316 MB / 318.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 5.459e-05/0.1119, allocations: 147.5 kB / 444.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.112, allocations: 0 / 444.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.976e-06/0.112, allocations: 7.062 kB / 444.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.112, allocations: 0 / 444.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.112, allocations: 4 kB / 444.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.112, allocations: 0 / 444.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.126e-05/0.112, allocations: 149.7 kB / 444.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.112, allocations: 3.984 kB / 444.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1121, allocations: 0 / 444.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1121, allocations: 0 / 444.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1121, allocations: 3.938 kB / 444.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1121, allocations: 3.938 kB / 444.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1121, allocations: 4 kB / 444.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.819e-05/0.1122, allocations: 90.83 kB / 444.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.1122, allocations: 81.05 kB / 445 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1122, allocations: 11.94 kB / 445 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-06/0.1122, allocations: 0 / 445 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.1122, allocations: 3.984 kB / 445 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1122, allocations: 0 / 445 MB, free: 2.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.114e-05/0.1122, allocations: 79.28 kB / 445.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1123, allocations: 3.938 kB / 445.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.1125, allocations: 24.02 kB / 445.1 MB, free: 2.602 MB / 318.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.0004151/0.1129, allocations: 263.5 kB / 445.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.091e-05/0.113, allocations: 63.34 kB / 445.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.113, allocations: 0 / 445.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.113, allocations: 59.47 kB / 445.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1131, allocations: 4 kB / 445.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001537/0.1133, allocations: 77.06 kB / 445.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.764e-05/0.1134, allocations: 0.6729 MB / 446.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.719e-06/0.1134, allocations: 0 / 446.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-06/0.1134, allocations: 7.438 kB / 446.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1134, allocations: 0 / 446.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of Templates: time 0.00279/0.1162, allocations: 0.7893 MB / 447.1 MB, free: 0.6523 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches