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) 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 116.4 kB / 18.45 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002058, allocations: 204 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.11 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 79.86 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3513, allocations: 62.44 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001626/0.353, allocations: 0.5286 MB / 0.5322 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004147/0.3534, allocations: 160 kB / 0.5323 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.3535, allocations: 0 / 0.5323 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.3535, allocations: 3.938 kB / 0.5323 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.3538, allocations: 34.06 kB / 0.5323 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.3538, allocations: 0 / 0.5323 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.3538, allocations: 32.92 kB / 0.5324 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.3539, allocations: 5.5 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.3539, allocations: 16.44 kB / 0.5324 GB, free: 13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.239e-05/0.354, allocations: 14.83 kB / 0.5324 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.354, allocations: 1.531 kB / 0.5324 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3541, allocations: 48.52 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.3542, allocations: 1.156 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.3542, allocations: 16.95 kB / 0.5325 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3543, allocations: 39.73 kB / 0.5325 GB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3543, allocations: 0 / 0.5325 GB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.3543, allocations: 3.984 kB / 0.5325 GB, free: 12.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3543, allocations: 5.438 kB / 0.5325 GB, free: 12.92 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.000344/0.3547, allocations: 335 kB / 0.5328 GB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3547, allocations: 8.969 kB / 0.5329 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.3548, allocations: 6.312 kB / 0.5329 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3549, allocations: 165.8 kB / 0.533 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3549, allocations: 6.125 kB / 0.533 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3549, allocations: 3 kB / 0.533 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3551, allocations: 61.17 kB / 0.5331 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3551, allocations: 4.188 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3551, allocations: 7.938 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3551, allocations: 1.625 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3552, allocations: 50.67 kB / 0.5331 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.3554, allocations: 170.6 kB / 0.5333 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3556, allocations: 87.39 kB / 0.5334 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.3556, allocations: 33.19 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000383/0.356, allocations: 255.6 kB / 0.5337 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3561, allocations: 33.22 kB / 0.5337 GB, free: 11.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.3561, allocations: 0 / 0.5337 GB, free: 11.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002407/0.3563, allocations: 104.8 kB / 0.5338 GB, free: 11.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.3564, allocations: 52.78 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.3564, allocations: 99.22 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3565, allocations: 27.2 kB / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.3565, allocations: 84.14 kB / 0.5341 GB, free: 11.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.3565, allocations: 29.52 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.3566, allocations: 28.58 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3567, allocations: 310.8 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/0.3567, allocations: 18.98 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.3568, allocations: 26.92 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.111e-05/0.3569, allocations: 46.17 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3569, allocations: 0 / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001213/0.357, allocations: 94.47 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.357, allocations: 5.5 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.357, allocations: 3.938 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3571, allocations: 9.297 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3572, allocations: 17.73 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3572, allocations: 0 / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.3572, allocations: 1.375 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3572, allocations: 2.75 kB / 0.5346 GB, free: 10.8 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 8.123e-05/0.3573, allocations: 115.2 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.3573, allocations: 6.75 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.3575, allocations: 107.9 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3575, allocations: 1.375 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3575, allocations: 4 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3575, allocations: 0 / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3577, allocations: 176.5 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3577, allocations: 0 / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.3577, allocations: 17.73 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3578, allocations: 0 / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3578, allocations: 5.312 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3578, allocations: 5.375 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3578, allocations: 0 / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.3579, allocations: 112.8 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.358, allocations: 82.39 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.358, allocations: 5.312 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.358, allocations: 4 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.3581, allocations: 6.734 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3581, allocations: 7.031 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.2e-05/0.3581, allocations: 76.66 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 0 / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.3583, allocations: 22.94 kB / 0.5353 GB, free: 10.08 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 (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.0001458/0.3585, allocations: 102.4 kB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.3586, allocations: 54.34 kB / 0.5355 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3586, allocations: 3.938 kB / 0.5355 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.3587, allocations: 31.23 kB / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.3588, allocations: 12.53 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.3592, allocations: 164.6 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3594, allocations: 0.6841 MB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.3595, allocations: 12.22 kB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3595, allocations: 0 / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of Templates: time 0.002166/0.3616, allocations: 0.8133 MB / 0.5372 GB, free: 8.668 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches