Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001999/0.001999, allocations: 121 kB / 19.13 MB, free: 3.902 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.002351/0.002351, allocations: 210.6 kB / 22.08 MB, free: 0.9531 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.582/1.582, allocations: 227.4 MB / 252.3 MB, free: 48 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.2267/0.2267, allocations: 46.18 MB / 351.8 MB, free: 14.26 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 84.45 kB / 490.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1142, allocations: 62.45 MB / 0.5403 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001733/0.116, allocations: 0.5319 MB / 0.5408 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000454/0.1164, allocations: 155.9 kB / 0.541 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.1165, allocations: 0 / 0.541 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.1165, allocations: 3.938 kB / 0.541 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1168, allocations: 39.84 kB / 0.541 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.619e-06/0.1168, allocations: 3.938 kB / 0.541 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.1169, allocations: 19.92 kB / 0.5411 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.1169, allocations: 3.984 kB / 0.5411 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.1169, allocations: 15.92 kB / 0.5411 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.117, allocations: 15.92 kB / 0.5411 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.117, allocations: 4 kB / 0.5411 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1172, allocations: 47.95 kB / 0.5411 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1172, allocations: 7.922 kB / 0.5412 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.1172, allocations: 3.938 kB / 0.5412 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1173, allocations: 47.81 kB / 0.5412 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1173, allocations: 0 / 0.5412 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1174, allocations: 3.938 kB / 0.5412 GB, free: 3.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1174, allocations: 0 / 0.5412 GB, free: 3.336 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004/0.1178, allocations: 343.3 kB / 0.5415 GB, free: 2.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1178, allocations: 8.031 kB / 0.5415 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.1179, allocations: 4.938 kB / 0.5415 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.118, allocations: 168.3 kB / 0.5417 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.118, allocations: 12.31 kB / 0.5417 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1181, allocations: 4.375 kB / 0.5417 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1182, allocations: 54.23 kB / 0.5418 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1182, allocations: 7.938 kB / 0.5418 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1182, allocations: 4 kB / 0.5418 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1182, allocations: 8 kB / 0.5418 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1184, allocations: 51.89 kB / 0.5418 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.1186, allocations: 177.6 kB / 0.542 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1187, allocations: 70.56 kB / 0.5421 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.1188, allocations: 32.84 kB / 0.5421 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/0.1192, allocations: 259.3 kB / 0.5424 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1192, allocations: 34.56 kB / 0.5424 GB, free: 1.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1192, allocations: 0 / 0.5424 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002583/0.1195, allocations: 105.8 kB / 0.5425 GB, free: 1.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.1196, allocations: 59.34 kB / 0.5425 GB, free: 1.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.889e-05/0.1196, allocations: 93.86 kB / 0.5426 GB, free: 1.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1197, allocations: 25.7 kB / 0.5427 GB, free: 1.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.1197, allocations: 80.14 kB / 0.5427 GB, free: 1.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.1198, allocations: 39.81 kB / 0.5428 GB, free: 1.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1198, allocations: 21.72 kB / 0.5428 GB, free: 1.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.12, allocations: 318.8 kB / 0.5431 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.12, allocations: 16 kB / 0.5431 GB, free: 1.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.12, allocations: 20.36 kB / 0.5431 GB, free: 1.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.522e-05/0.1201, allocations: 52.98 kB / 0.5432 GB, free: 1.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1201, allocations: 0 / 0.5432 GB, free: 1.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.1203, allocations: 85.58 kB / 0.5433 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1203, allocations: 15.88 kB / 0.5433 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1203, allocations: 4 kB / 0.5433 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1203, allocations: 3.984 kB / 0.5433 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.1204, allocations: 15.94 kB / 0.5433 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1205, allocations: 0 / 0.5433 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.1205, allocations: 4 kB / 0.5433 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1205, allocations: 0 / 0.5433 GB, free: 0.9023 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 (10): * Single equations (assignments): 10 * 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 9.359e-05/0.1206, allocations: 113.8 kB / 0.5434 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.1206, allocations: 7.891 kB / 0.5434 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.1208, allocations: 117.5 kB / 0.5435 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1208, allocations: 0 / 0.5435 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1208, allocations: 0 / 0.5435 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1209, allocations: 0 / 0.5435 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.121, allocations: 165.7 kB / 0.5437 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.121, allocations: 3.984 kB / 0.5437 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.1211, allocations: 12 kB / 0.5437 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.1211, allocations: 11.94 kB / 0.5437 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1211, allocations: 0 / 0.5437 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1211, allocations: 0 / 0.5437 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.1211, allocations: 4.125 kB / 0.5437 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1213, allocations: 121 kB / 0.5438 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.1214, allocations: 77.11 kB / 0.5439 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1214, allocations: 7.938 kB / 0.5439 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.5e-05/0.1214, allocations: 4 kB / 0.5439 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.1214, allocations: 11.92 kB / 0.5439 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1214, allocations: 0 / 0.5439 GB, free: 160 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.738e-05/0.1215, allocations: 79.28 kB / 0.544 GB, free: 80 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1215, allocations: 0 / 0.544 GB, free: 80 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.1217, allocations: 19.94 kB / 0.544 GB, free: 60 kB / 398.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 (10): * Single equations (assignments): 10 * 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.0001688/0.1219, allocations: 107.2 kB / 0.5441 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.122, allocations: 55.92 kB / 0.5442 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1221, allocations: 0 / 0.5442 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/0.1221, allocations: 35.92 kB / 0.5442 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1223, allocations: 7.938 kB / 0.5442 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.1226, allocations: 162.8 kB / 0.5444 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1229, allocations: 0.6834 MB / 0.5451 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.123, allocations: 15.44 kB / 0.5451 GB, free: 14.93 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.123, allocations: 0 / 0.5451 GB, free: 14.93 MB / 414.1 MB Notification: Performance of Templates: time 0.002704/0.1257, allocations: 0.8128 MB / 0.5459 GB, free: 14.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.29241378500592]