Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001695/0.001695, allocations: 79.58 kB / 20.52 MB, free: 1.281 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.001479/0.001479, allocations: 160.8 kB / 23.76 MB, free: 4.469 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.334/1.334, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 179] 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.1966/0.1966, allocations: 32.37 MB / 270.1 MB, free: 2.703 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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [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.002418/0.002418, allocations: 71.89 kB / 407.8 MB, free: 5.465 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1112, allocations: 61.05 MB / 468.9 MB, free: 8.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001864/0.113, allocations: 0.5826 MB / 469.5 MB, free: 7.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003429/0.1134, allocations: 101.5 kB / 469.5 MB, free: 7.547 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.1134, allocations: 0 / 469.5 MB, free: 7.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.1134, allocations: 3.938 kB / 469.6 MB, free: 7.543 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1137, allocations: 31.83 kB / 469.6 MB, free: 7.512 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.998e-06/0.1137, allocations: 4 kB / 469.6 MB, free: 7.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.1137, allocations: 31.84 kB / 469.6 MB, free: 7.477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.1138, allocations: 4 kB / 469.6 MB, free: 7.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.1138, allocations: 11.94 kB / 469.6 MB, free: 7.461 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.1138, allocations: 15.86 kB / 469.7 MB, free: 7.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1139, allocations: 4 kB / 469.7 MB, free: 7.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.114, allocations: 47.94 kB / 469.7 MB, free: 7.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.114, allocations: 0 / 469.7 MB, free: 7.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.114, allocations: 11.92 kB / 469.7 MB, free: 7.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.1141, allocations: 39.83 kB / 469.8 MB, free: 7.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1141, allocations: 0 / 469.8 MB, free: 7.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1141, allocations: 0 / 469.8 MB, free: 7.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1141, allocations: 0 / 469.8 MB, free: 7.344 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003124/0.1144, allocations: 266.3 kB / 470 MB, free: 7.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1145, allocations: 12.03 kB / 470 MB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.1145, allocations: 4.891 kB / 470 MB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1146, allocations: 114.5 kB / 470.1 MB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1146, allocations: 384 / 470.1 MB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1146, allocations: 4.375 kB / 470.1 MB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1148, allocations: 58.25 kB / 470.2 MB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.1148, allocations: 192 / 470.2 MB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1148, allocations: 3.938 kB / 470.2 MB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1148, allocations: 7.922 kB / 470.2 MB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1149, allocations: 59.88 kB / 470.3 MB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.115, allocations: 121.2 kB / 470.4 MB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1152, allocations: 78.55 kB / 470.5 MB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.1152, allocations: 28.8 kB / 470.5 MB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.1155, allocations: 23.97 kB / 470.5 MB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1155, allocations: 34.78 kB / 470.6 MB, free: 6.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1155, allocations: 0 / 470.6 MB, free: 6.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002391/0.1157, allocations: 113.5 kB / 470.7 MB, free: 6.312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1158, allocations: 55.41 kB / 470.7 MB, free: 6.246 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.1158, allocations: 93.86 kB / 470.8 MB, free: 6.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1159, allocations: 25.7 kB / 470.8 MB, free: 6.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.1159, allocations: 80.14 kB / 470.9 MB, free: 6.031 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.1159, allocations: 35.69 kB / 470.9 MB, free: 5.996 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.116, allocations: 25.72 kB / 471 MB, free: 5.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1161, allocations: 314.8 kB / 471.3 MB, free: 5.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.1162, allocations: 16 kB / 471.3 MB, free: 5.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.1162, allocations: 23.98 kB / 471.3 MB, free: 5.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/0.1163, allocations: 49.36 kB / 471.4 MB, free: 5.559 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1163, allocations: 0 / 471.4 MB, free: 5.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001325/0.1164, allocations: 85.75 kB / 471.5 MB, free: 5.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1165, allocations: 11.98 kB / 471.5 MB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1165, allocations: 3.984 kB / 471.5 MB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1165, allocations: 3.938 kB / 471.5 MB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1166, allocations: 15.94 kB / 471.5 MB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1166, allocations: 0 / 471.5 MB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.406e-05/0.1166, allocations: 4 kB / 471.5 MB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1166, allocations: 4 kB / 471.5 MB, free: 5.426 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 (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 7.625e-05/0.1167, allocations: 109.8 kB / 471.6 MB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.1167, allocations: 11.94 kB / 471.6 MB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.1169, allocations: 101.6 kB / 471.7 MB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1169, allocations: 3.938 kB / 471.7 MB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1169, allocations: 4 kB / 471.7 MB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1169, allocations: 0 / 471.7 MB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.117, allocations: 117.2 kB / 471.8 MB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.117, allocations: 3.984 kB / 471.8 MB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.1171, allocations: 15.94 kB / 471.9 MB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1171, allocations: 4 kB / 471.9 MB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.1171, allocations: 0 / 471.9 MB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1171, allocations: 0 / 471.9 MB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.1171, allocations: 15.88 kB / 471.9 MB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.1173, allocations: 117 kB / 472 MB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-06/0.1173, allocations: 4.281 kB / 472 MB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1173, allocations: 0 / 472 MB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.776e-05/0.1173, allocations: 4 kB / 472 MB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.1173, allocations: 15.86 kB / 472 MB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1173, allocations: 0 / 472 MB, free: 4.848 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.1174, allocations: 79.28 kB / 472.1 MB, free: 4.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1174, allocations: 0 / 472.1 MB, free: 4.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.1176, allocations: 16 kB / 472.1 MB, free: 4.754 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 (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.0001209/0.1177, allocations: 107.3 kB / 472.2 MB, free: 4.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.1178, allocations: 51.92 kB / 472.3 MB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1178, allocations: 0 / 472.3 MB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.1179, allocations: 31.92 kB / 472.3 MB, free: 4.555 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.118, allocations: 4 kB / 472.3 MB, free: 4.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.1184, allocations: 148.7 kB / 472.4 MB, free: 4.379 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.1184, allocations: 67.34 kB / 472.5 MB, free: 4.293 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.1185, allocations: 8 kB / 472.5 MB, free: 4.285 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.1185, allocations: 12.5 kB / 472.5 MB, free: 4.273 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1185, allocations: 0 / 472.5 MB, free: 4.273 MB / 446.1 MB Notification: Performance of Templates: time 0.003063/0.1216, allocations: 0.615 MB / 473.1 MB, free: 3.656 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 4.787335001048632]