Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001891/0.001891, allocations: 75.77 kB / 20.52 MB, free: 1.121 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.001875/0.001875, allocations: 168.2 kB / 23.76 MB, free: 4.195 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.336/1.336, allocations: 158.6 MB / 185.5 MB, free: 6.223 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.2341/0.2341, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [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.002332/0.002332, allocations: 67.91 kB / 407.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.118, allocations: 61.04 MB / 468.9 MB, free: 8.258 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001819/0.1198, allocations: 0.5437 MB / 469.4 MB, free: 7.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.1201, allocations: 67.72 kB / 469.5 MB, free: 7.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.1201, allocations: 0 / 469.5 MB, free: 7.645 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.1201, allocations: 0 / 469.5 MB, free: 7.645 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.1203, allocations: 19.92 kB / 469.5 MB, free: 7.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.949e-05/0.1203, allocations: 4 kB / 469.5 MB, free: 7.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.1204, allocations: 7.938 kB / 469.5 MB, free: 7.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.1204, allocations: 3.984 kB / 469.5 MB, free: 7.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.1205, allocations: 3.984 kB / 469.5 MB, free: 7.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.928e-05/0.1205, allocations: 4 kB / 469.5 MB, free: 7.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1205, allocations: 3.938 kB / 469.5 MB, free: 7.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.1206, allocations: 15.98 kB / 469.5 MB, free: 7.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.1206, allocations: 4 kB / 469.5 MB, free: 7.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.1206, allocations: 0 / 469.5 MB, free: 7.578 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.791e-05/0.1207, allocations: 27.95 kB / 469.6 MB, free: 7.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1207, allocations: 0 / 469.6 MB, free: 7.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1207, allocations: 0 / 469.6 MB, free: 7.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1207, allocations: 3.938 kB / 469.6 MB, free: 7.547 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003575/0.1211, allocations: 238.4 kB / 469.8 MB, free: 7.281 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1211, allocations: 16.02 kB / 469.8 MB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.1212, allocations: 0.9375 kB / 469.8 MB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1213, allocations: 110.5 kB / 469.9 MB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1213, allocations: 4.375 kB / 469.9 MB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1213, allocations: 384 / 469.9 MB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/0.1214, allocations: 42.19 kB / 470 MB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1214, allocations: 4.188 kB / 470 MB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1214, allocations: 3.938 kB / 470 MB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1214, allocations: 0 / 470 MB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.1215, allocations: 8 kB / 470 MB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.1216, allocations: 101.3 kB / 470.1 MB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1218, allocations: 40.44 kB / 470.1 MB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.1218, allocations: 12.8 kB / 470.1 MB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.1221, allocations: 40.03 kB / 470.2 MB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1222, allocations: 30.56 kB / 470.2 MB, free: 6.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1222, allocations: 4 kB / 470.2 MB, free: 6.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001271/0.1234, allocations: 181.3 kB / 470.4 MB, free: 6.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1235, allocations: 59.41 kB / 470.4 MB, free: 6.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.18e-05/0.1236, allocations: 93.84 kB / 470.5 MB, free: 6.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1236, allocations: 29.7 kB / 470.6 MB, free: 6.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.1236, allocations: 84.08 kB / 470.7 MB, free: 6.316 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.1236, allocations: 19.8 kB / 470.7 MB, free: 6.297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.1237, allocations: 17.72 kB / 470.7 MB, free: 6.273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1238, allocations: 314.8 kB / 471 MB, free: 5.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.1239, allocations: 19.98 kB / 471 MB, free: 5.938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.124, allocations: 19.98 kB / 471 MB, free: 5.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1241, allocations: 48.95 kB / 471.1 MB, free: 5.867 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1241, allocations: 0 / 471.1 MB, free: 5.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.1244, allocations: 77.59 kB / 471.2 MB, free: 5.785 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1244, allocations: 4 kB / 471.2 MB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1244, allocations: 7.938 kB / 471.2 MB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1244, allocations: 0 / 471.2 MB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1245, allocations: 11.98 kB / 471.2 MB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1245, allocations: 3.938 kB / 471.2 MB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1246, allocations: 15.98 kB / 471.2 MB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1246, allocations: 4 kB / 471.2 MB, free: 5.738 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 (5): * Single equations (assignments): 5 * 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.816e-05/0.1247, allocations: 105.8 kB / 471.3 MB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.1247, allocations: 4 kB / 471.3 MB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.125, allocations: 93.42 kB / 471.4 MB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.125, allocations: 64 / 471.4 MB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.125, allocations: 8 kB / 471.4 MB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.125, allocations: 0 / 471.4 MB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.1257, allocations: 299.2 kB / 471.7 MB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1257, allocations: 0 / 471.7 MB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1258, allocations: 19.98 kB / 471.7 MB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1258, allocations: 0 / 471.7 MB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1258, allocations: 3.984 kB / 471.7 MB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1258, allocations: 4.031 kB / 471.7 MB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.1258, allocations: 8.031 kB / 471.7 MB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.1261, allocations: 188.2 kB / 471.9 MB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.1261, allocations: 4 kB / 471.9 MB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1261, allocations: 0 / 471.9 MB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1262, allocations: 4 kB / 471.9 MB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.1262, allocations: 7.984 kB / 471.9 MB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1263, allocations: 0 / 471.9 MB, free: 4.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.132e-05/0.1263, allocations: 79.28 kB / 472 MB, free: 4.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1263, allocations: 0 / 472 MB, free: 4.852 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1265, allocations: 12 kB / 472 MB, free: 4.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000139/0.1267, allocations: 99.23 kB / 472.1 MB, free: 4.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1269, allocations: 43.91 kB / 472.2 MB, free: 4.691 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1269, allocations: 0 / 472.2 MB, free: 4.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.127, allocations: 27.97 kB / 472.2 MB, free: 4.664 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1272, allocations: 12.03 kB / 472.2 MB, free: 4.652 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.1276, allocations: 133.7 kB / 472.3 MB, free: 4.492 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.724e-05/0.1277, allocations: 67.27 kB / 472.4 MB, free: 4.406 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.021e-05/0.1277, allocations: 11.94 kB / 472.4 MB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1278, allocations: 12.5 kB / 472.4 MB, free: 4.383 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1278, allocations: 0 / 472.4 MB, free: 4.383 MB / 446.1 MB Notification: Performance of Templates: time 0.003071/0.1308, allocations: 0.6852 MB / 473.1 MB, free: 3.699 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.913925929926336]