Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001292/0.001292, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 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.0009698/0.0009698, allocations: 170.2 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9513/0.9513, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 32.8 MB / 294.6 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.644e-05, allocations: 8.281 kB / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001821/0.001848, allocations: 0.5374 MB / 323.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.00406, allocations: 1.389 MB / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.004087, allocations: 0 / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.004102, allocations: 0 / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/0.004137, allocations: 7.938 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.004744, allocations: 171.5 kB / 325.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.489e-05/0.004798, allocations: 4 kB / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.004842, allocations: 0.625 kB / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.004884, allocations: 7.984 kB / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.004939, allocations: 4 kB / 325.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.004956, allocations: 0 / 325.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006061/0.005562, allocations: 316 kB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.005575, allocations: 0 / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.405e-05/0.005589, allocations: 0 / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.005868, allocations: 199.5 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.005872, allocations: 0 / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005873, allocations: 0 / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.005878, allocations: 0 / 325.9 MB, free: 7.031 MB / 298.7 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.0002936/0.006171, allocations: 237.7 kB / 326.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.00621, allocations: 8.031 kB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.006242, allocations: 8.938 kB / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.055e-05/0.006333, allocations: 102.1 kB / 326.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.006343, allocations: 384 / 326.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.006354, allocations: 4.375 kB / 326.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.986e-05/0.006444, allocations: 59.95 kB / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.006451, allocations: 192 / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.006459, allocations: 384 / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.006467, allocations: 7.938 kB / 326.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.277e-05/0.00648, allocations: 4 kB / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.568e-05/0.006565, allocations: 61.03 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.07e-05/0.006616, allocations: 22.5 kB / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.006632, allocations: 8.844 kB / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.006638, allocations: 0 / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.006664, allocations: 38.56 kB / 326.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 2.305e-06/0.006666, allocations: 4 kB / 326.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.924e-05/0.006766, allocations: 33.64 kB / 326.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.006793, allocations: 51.41 kB / 326.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.006863, allocations: 106.7 kB / 326.6 MB, free: 6.164 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.006877, allocations: 25.7 kB / 326.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.006913, allocations: 80.14 kB / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.006955, allocations: 4 kB / 326.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.006987, allocations: 13.72 kB / 326.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.007078, allocations: 318.8 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.108e-06/0.007087, allocations: 256 / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.007095, allocations: 8 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.417e-05/0.007119, allocations: 4.859 kB / 327.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007122, allocations: 0 / 327.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.402e-05/0.007186, allocations: 41.62 kB / 327.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.0072, allocations: 4 kB / 327.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.007205, allocations: 0 / 327.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.007218, allocations: 0 / 327.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.007276, allocations: 0 / 327.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.007278, allocations: 4 kB / 327.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.007291, allocations: 4.031 kB / 327.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.007298, allocations: 4 kB / 327.1 MB, free: 5.629 MB / 298.7 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 6.138e-05/0.007359, allocations: 113.8 kB / 327.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.00737, allocations: 4 kB / 327.2 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.007486, allocations: 36.86 kB / 327.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007489, allocations: 0 / 327.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007491, allocations: 0 / 327.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.007495, allocations: 8.016 kB / 327.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.752e-05/0.007562, allocations: 65.84 kB / 327.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.007569, allocations: 0 / 327.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.00757, allocations: 3.938 kB / 327.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.007573, allocations: 4 kB / 327.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-06/0.007577, allocations: 0 / 327.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.00758, allocations: 4 kB / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007582, allocations: 0 / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.943e-05/0.007651, allocations: 57.06 kB / 327.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.00766, allocations: 8.562 kB / 327.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.007668, allocations: 0 / 327.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.007732, allocations: 4.031 kB / 327.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.007748, allocations: 4 kB / 327.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.007753, allocations: 0 / 327.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.417e-05/0.007767, allocations: 8.844 kB / 327.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007767, allocations: 0 / 327.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.007992, allocations: 43.94 kB / 327.5 MB, free: 5.219 MB / 298.7 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.0002655/0.008257, allocations: 128.3 kB / 327.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.008323, allocations: 12.89 kB / 327.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.008327, allocations: 4.062 kB / 327.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/0.008359, allocations: 34.56 kB / 327.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.655e-05/0.008446, allocations: 11.92 kB / 327.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.008652, allocations: 89.34 kB / 327.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.008684, allocations: 51.36 kB / 327.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.696e-05/0.008701, allocations: 4 kB / 327.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.008757, allocations: 51.38 kB / 327.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008757, allocations: 0 / 327.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003912/0.01267, allocations: 1.26 MB / 329.1 MB, free: 3.512 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.746811017859727]