Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 83.03 kB / 20.52 MB, free: 1.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 166.5 kB / 23.76 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 158.6 MB / 185.5 MB, free: 6.207 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2077/0.2077, allocations: 32.38 MB / 270.1 MB, free: 2.695 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 72.36 kB / 407.7 MB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1137, allocations: 61.04 MB / 468.8 MB, free: 8.309 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001973/0.1156, allocations: 0.5026 MB / 469.3 MB, free: 7.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1177, allocations: 1.352 MB / 470.6 MB, free: 6.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1177, allocations: 0 / 470.6 MB, free: 6.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.1177, allocations: 0 / 470.6 MB, free: 6.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.99e-05/0.1178, allocations: 0 / 470.6 MB, free: 6.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.1184, allocations: 219.9 kB / 470.9 MB, free: 6.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.1185, allocations: 12 kB / 470.9 MB, free: 6.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.1185, allocations: 0 / 470.9 MB, free: 6.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.1185, allocations: 4 kB / 470.9 MB, free: 6.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.1186, allocations: 11.91 kB / 470.9 MB, free: 6.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1186, allocations: 0 / 470.9 MB, free: 6.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.1191, allocations: 259.6 kB / 471.1 MB, free: 5.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.1191, allocations: 4 kB / 471.1 MB, free: 5.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.431e-05/0.1191, allocations: 0 / 471.1 MB, free: 5.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1193, allocations: 143.6 kB / 471.3 MB, free: 5.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1193, allocations: 3.938 kB / 471.3 MB, free: 5.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1193, allocations: 7.938 kB / 471.3 MB, free: 5.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1193, allocations: 0 / 471.3 MB, free: 5.777 MB / 446.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.0004047/0.1197, allocations: 254.3 kB / 471.5 MB, free: 5.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.1198, allocations: 8.031 kB / 471.5 MB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1198, allocations: 0.9375 kB / 471.5 MB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.12, allocations: 114.5 kB / 471.7 MB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.12, allocations: 384 / 471.7 MB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.12, allocations: 384 / 471.7 MB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1202, allocations: 59.72 kB / 471.7 MB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1202, allocations: 0 / 471.7 MB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1202, allocations: 4 kB / 471.7 MB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1202, allocations: 3.984 kB / 471.7 MB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.617e-05/0.1202, allocations: 4 kB / 471.7 MB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1204, allocations: 101.3 kB / 471.8 MB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.062e-05/0.1205, allocations: 22.55 kB / 471.8 MB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.1205, allocations: 8.859 kB / 471.9 MB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1205, allocations: 0 / 471.9 MB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1205, allocations: 34.62 kB / 471.9 MB, free: 5.059 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1205, allocations: 0 / 471.9 MB, free: 5.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001727/0.1207, allocations: 49.56 kB / 471.9 MB, free: 5.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.1207, allocations: 51.41 kB / 472 MB, free: 4.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.1208, allocations: 97.8 kB / 472.1 MB, free: 4.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1209, allocations: 25.7 kB / 472.1 MB, free: 4.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.1209, allocations: 80.14 kB / 472.2 MB, free: 4.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1209, allocations: 4.188 kB / 472.2 MB, free: 4.719 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.121, allocations: 17.72 kB / 472.2 MB, free: 4.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1211, allocations: 318.8 kB / 472.5 MB, free: 4.375 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.1211, allocations: 0 / 472.5 MB, free: 4.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-06/0.1211, allocations: 4 kB / 472.5 MB, free: 4.371 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.1212, allocations: 8.859 kB / 472.5 MB, free: 4.359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1212, allocations: 0 / 472.5 MB, free: 4.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.784e-05/0.1212, allocations: 33.64 kB / 472.6 MB, free: 4.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1212, allocations: 8 kB / 472.6 MB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1212, allocations: 3.938 kB / 472.6 MB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1212, allocations: 8.031 kB / 472.6 MB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.1213, allocations: 3.984 kB / 472.6 MB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1213, allocations: 0 / 472.6 MB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.1213, allocations: 0 / 472.6 MB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1213, allocations: 4 kB / 472.6 MB, free: 4.293 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.969e-05/0.1214, allocations: 109.8 kB / 472.7 MB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.1214, allocations: 0 / 472.7 MB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.1215, allocations: 52.78 kB / 472.8 MB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1215, allocations: 0 / 472.8 MB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1215, allocations: 0 / 472.8 MB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1215, allocations: 0 / 472.8 MB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.602e-05/0.1216, allocations: 101.3 kB / 472.9 MB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1216, allocations: 7.938 kB / 472.9 MB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1216, allocations: 0 / 472.9 MB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1216, allocations: 0 / 472.9 MB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1216, allocations: 3.984 kB / 472.9 MB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1216, allocations: 3.938 kB / 472.9 MB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1216, allocations: 0 / 472.9 MB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.991e-05/0.1217, allocations: 69.17 kB / 472.9 MB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-06/0.1217, allocations: 0 / 472.9 MB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.1217, allocations: 0 / 472.9 MB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1218, allocations: 15.91 kB / 472.9 MB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.1218, allocations: 0 / 472.9 MB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1218, allocations: 0 / 472.9 MB, free: 3.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.1219, allocations: 79.28 kB / 473 MB, free: 3.793 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1219, allocations: 0 / 473 MB, free: 3.793 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1221, allocations: 35.94 kB / 473.1 MB, free: 3.758 MB / 446.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: 0 () * Number of discrete states: 0 () * 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: 0 * Record equations: 1 * 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.0002573/0.1224, allocations: 147.3 kB / 473.2 MB, free: 3.605 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.261e-05/0.1224, allocations: 7.938 kB / 473.2 MB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1224, allocations: 3.938 kB / 473.2 MB, free: 3.594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.1225, allocations: 29.7 kB / 473.2 MB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.1226, allocations: 0 / 473.2 MB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.1228, allocations: 96.78 kB / 473.3 MB, free: 3.438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.278e-05/0.1229, allocations: 55.36 kB / 473.4 MB, free: 3.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.434e-05/0.1229, allocations: 128 / 473.4 MB, free: 3.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1229, allocations: 20.42 kB / 473.4 MB, free: 3.344 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1229, allocations: 0 / 473.4 MB, free: 3.344 MB / 446.1 MB Notification: Performance of Templates: time 0.003716/0.1266, allocations: 1.086 MB / 474.5 MB, free: 2.262 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.837644791929051]