Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 46.12 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 79.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.37, allocations: 62.44 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001736/0.3718, allocations: 498.5 kB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3738, allocations: 1.411 MB / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.3738, allocations: 5 kB / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.3739, allocations: 0 / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.913e-05/0.3739, allocations: 0 / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.3747, allocations: 226 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.3747, allocations: 7.891 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.3748, allocations: 1.75 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.3748, allocations: 6 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.3749, allocations: 1.656 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3749, allocations: 4 kB / 0.5337 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.3754, allocations: 288.9 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.3754, allocations: 4 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.3754, allocations: 5.312 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.3757, allocations: 142.2 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.3757, allocations: 3.984 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3757, allocations: 1.375 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3757, allocations: 0 / 0.5342 GB, free: 11.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004118/0.3761, allocations: 334.5 kB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3762, allocations: 13.62 kB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3762, allocations: 2.312 kB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3763, allocations: 168.2 kB / 0.5346 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3764, allocations: 1.75 kB / 0.5346 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3764, allocations: 384 / 0.5346 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.3765, allocations: 32.77 kB / 0.5347 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3765, allocations: 1.375 kB / 0.5347 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3765, allocations: 7.922 kB / 0.5347 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3765, allocations: 0 / 0.5347 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.487e-05/0.3766, allocations: 6.75 kB / 0.5347 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.3767, allocations: 147.1 kB / 0.5348 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.042e-05/0.3768, allocations: 21.27 kB / 0.5349 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.3768, allocations: 10.22 kB / 0.5349 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.3768, allocations: 1.375 kB / 0.5349 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3769, allocations: 38.5 kB / 0.5349 GB, free: 10.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3769, allocations: 1.375 kB / 0.5349 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.377, allocations: 39.14 kB / 0.5349 GB, free: 10.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.3771, allocations: 52.78 kB / 0.535 GB, free: 10.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.3771, allocations: 92.61 kB / 0.5351 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3772, allocations: 25.7 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.3772, allocations: 89.5 kB / 0.5352 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.3772, allocations: 0 / 0.5352 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.3773, allocations: 12.47 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3774, allocations: 315.1 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.3774, allocations: 1.375 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.3774, allocations: 1.375 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.3774, allocations: 16.92 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3775, allocations: 0 / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.583e-05/0.3775, allocations: 36.56 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3775, allocations: 9.438 kB / 0.5356 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3775, allocations: 0 / 0.5356 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3776, allocations: 8.078 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.3776, allocations: 2.75 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3776, allocations: 0 / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.3777, allocations: 0 / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3777, allocations: 5.359 kB / 0.5356 GB, free: 10.05 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 (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 7.772e-05/0.3778, allocations: 107.2 kB / 0.5357 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.3778, allocations: 5.312 kB / 0.5357 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.3779, allocations: 60.8 kB / 0.5357 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3779, allocations: 0 / 0.5357 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3779, allocations: 1.375 kB / 0.5357 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3779, allocations: 0 / 0.5357 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.771e-05/0.378, allocations: 147 kB / 0.5359 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3781, allocations: 1.375 kB / 0.5359 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3781, allocations: 3.938 kB / 0.5359 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.3781, allocations: 5.312 kB / 0.5359 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.3781, allocations: 0 / 0.5359 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3781, allocations: 9.344 kB / 0.5359 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3781, allocations: 0 / 0.5359 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.711e-05/0.3782, allocations: 65.28 kB / 0.536 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.3782, allocations: 84.98 kB / 0.5361 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.3782, allocations: 1.375 kB / 0.5361 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.3783, allocations: 1.375 kB / 0.5361 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.3783, allocations: 5.359 kB / 0.5361 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-06/0.3783, allocations: 5.406 kB / 0.5361 GB, free: 9.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.495e-05/0.3784, allocations: 80.66 kB / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3784, allocations: 0 / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3786, allocations: 39.75 kB / 0.5362 GB, free: 9.41 MB / 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 (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.0002643/0.3789, allocations: 133.8 kB / 0.5363 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.317e-05/0.379, allocations: 8.125 kB / 0.5363 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.379, allocations: 0 / 0.5363 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.3791, allocations: 32.61 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.3792, allocations: 2.75 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.3795, allocations: 112.3 kB / 0.5365 GB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.3797, allocations: 0.6716 MB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.3797, allocations: 8.812 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3797, allocations: 0 / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of Templates: time 0.002745/0.3825, allocations: 0.9272 MB / 0.538 GB, free: 7.965 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches