Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 116.9 kB / 19.12 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 210.6 kB / 22.08 MB, free: 0.9766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 46.17 MB / 351.8 MB, free: 14.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 80.8 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1092, allocations: 62.45 MB / 0.5403 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001513/0.1108, allocations: 0.4931 MB / 0.5408 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00029/0.1111, allocations: 107.6 kB / 0.5409 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1111, allocations: 4 kB / 0.5409 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.1111, allocations: 0 / 0.5409 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1113, allocations: 15.92 kB / 0.5409 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.376e-05/0.1113, allocations: 0 / 0.5409 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.365e-05/0.1114, allocations: 11.97 kB / 0.5409 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.1114, allocations: 416 / 0.5409 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.1115, allocations: 8 kB / 0.541 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.1115, allocations: 3.938 kB / 0.541 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1115, allocations: 0 / 0.541 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.523e-05/0.1116, allocations: 27.97 kB / 0.541 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.1116, allocations: 3.938 kB / 0.541 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.1116, allocations: 0 / 0.541 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.309e-05/0.1117, allocations: 27.84 kB / 0.541 GB, free: 3.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1117, allocations: 0 / 0.541 GB, free: 3.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1117, allocations: 0 / 0.541 GB, free: 3.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1117, allocations: 0 / 0.541 GB, free: 3.715 MB / 398.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.0003408/0.1121, allocations: 319.5 kB / 0.5413 GB, free: 3.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1121, allocations: 12.03 kB / 0.5413 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.1122, allocations: 4.938 kB / 0.5413 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1123, allocations: 164.4 kB / 0.5415 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-06/0.1123, allocations: 384 / 0.5415 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1123, allocations: 4.375 kB / 0.5415 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.101e-05/0.1124, allocations: 34.25 kB / 0.5415 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1124, allocations: 192 / 0.5415 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1125, allocations: 3.938 kB / 0.5415 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1125, allocations: 0 / 0.5415 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.1125, allocations: 11.94 kB / 0.5415 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.1127, allocations: 153.7 kB / 0.5417 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1129, allocations: 42.55 kB / 0.5417 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.1129, allocations: 16.86 kB / 0.5417 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/0.1132, allocations: 113.1 kB / 0.5419 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1133, allocations: 30.56 kB / 0.5419 GB, free: 2.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1133, allocations: 4 kB / 0.5419 GB, free: 2.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001147/0.1144, allocations: 185.6 kB / 0.5421 GB, free: 2.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1145, allocations: 51.41 kB / 0.5421 GB, free: 2.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.1145, allocations: 97.86 kB / 0.5422 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1146, allocations: 25.7 kB / 0.5422 GB, free: 2.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.1146, allocations: 84.08 kB / 0.5423 GB, free: 2.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1146, allocations: 23.77 kB / 0.5423 GB, free: 2.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1147, allocations: 17.72 kB / 0.5424 GB, free: 2.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1148, allocations: 318.8 kB / 0.5427 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.1149, allocations: 15.98 kB / 0.5427 GB, free: 1.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.115, allocations: 24.11 kB / 0.5427 GB, free: 1.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1152, allocations: 44.83 kB / 0.5427 GB, free: 1.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1152, allocations: 0 / 0.5427 GB, free: 1.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002002/0.1154, allocations: 77.64 kB / 0.5428 GB, free: 1.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1154, allocations: 11.94 kB / 0.5428 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1154, allocations: 0 / 0.5428 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1154, allocations: 0 / 0.5428 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1155, allocations: 24.17 kB / 0.5428 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1155, allocations: 0 / 0.5428 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.1156, allocations: 8 kB / 0.5429 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1157, allocations: 3.984 kB / 0.5429 GB, free: 1.582 MB / 398.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 8.066e-05/0.1157, allocations: 109.8 kB / 0.543 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.1158, allocations: 11.89 kB / 0.543 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.116, allocations: 89.2 kB / 0.5431 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.116, allocations: 0 / 0.5431 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.116, allocations: 0 / 0.5431 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.116, allocations: 0 / 0.5431 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.1167, allocations: 355.3 kB / 0.5434 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1168, allocations: 4.031 kB / 0.5434 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.1169, allocations: 23.92 kB / 0.5434 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1169, allocations: 0 / 0.5434 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1169, allocations: 0 / 0.5434 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1169, allocations: 7.984 kB / 0.5434 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1169, allocations: 0 / 0.5434 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1171, allocations: 180.3 kB / 0.5436 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.1172, allocations: 81.06 kB / 0.5437 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1172, allocations: 4 kB / 0.5437 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/0.1173, allocations: 4 kB / 0.5437 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.1173, allocations: 7.922 kB / 0.5437 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1174, allocations: 4 kB / 0.5437 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.496e-05/0.1174, allocations: 79.22 kB / 0.5438 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1174, allocations: 3.938 kB / 0.5438 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.1176, allocations: 16.09 kB / 0.5438 GB, free: 0.5117 MB / 398.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.0001242/0.1178, allocations: 99.19 kB / 0.5439 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.118, allocations: 47.89 kB / 0.5439 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.118, allocations: 4 kB / 0.5439 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.1181, allocations: 27.91 kB / 0.544 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.1183, allocations: 8.578 kB / 0.544 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.1187, allocations: 159.6 kB / 0.5441 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.119, allocations: 0.6729 MB / 0.5448 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.1191, allocations: 15.42 kB / 0.5448 GB, free: 15.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1191, allocations: 0 / 0.5448 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Templates: time 0.002104/0.1212, allocations: 0.6678 MB / 0.5454 GB, free: 14.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.1090543700847775]