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.001482/0.001482, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 87.84 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3507, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001573/0.3523, allocations: 0.5256 MB / 0.5315 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000394/0.3527, allocations: 153.2 kB / 0.5316 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.3528, allocations: 0 / 0.5316 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.3528, allocations: 7.938 kB / 0.5316 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.3531, allocations: 34.05 kB / 0.5317 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.079e-06/0.3531, allocations: 7.938 kB / 0.5317 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.3532, allocations: 25.17 kB / 0.5317 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.3532, allocations: 5.812 kB / 0.5317 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.3533, allocations: 14.77 kB / 0.5317 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.3533, allocations: 12.45 kB / 0.5317 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3534, allocations: 1.625 kB / 0.5317 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3535, allocations: 51.91 kB / 0.5318 GB, free: 13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.3535, allocations: 5.281 kB / 0.5318 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.3535, allocations: 13.14 kB / 0.5318 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.3537, allocations: 43.05 kB / 0.5318 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3537, allocations: 4 kB / 0.5318 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.149e-06/0.3537, allocations: 5.797 kB / 0.5319 GB, free: 12.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3537, allocations: 0 / 0.5319 GB, free: 12.95 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.000387/0.3541, allocations: 333.5 kB / 0.5322 GB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3542, allocations: 9.281 kB / 0.5322 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.3542, allocations: 7.531 kB / 0.5322 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3543, allocations: 165.3 kB / 0.5323 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3544, allocations: 2.656 kB / 0.5323 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3544, allocations: 11.34 kB / 0.5324 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3545, allocations: 59.92 kB / 0.5324 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3546, allocations: 192 / 0.5324 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3546, allocations: 5.344 kB / 0.5324 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3546, allocations: 1.562 kB / 0.5324 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.3547, allocations: 53.11 kB / 0.5325 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.3549, allocations: 164.5 kB / 0.5326 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.355, allocations: 86.73 kB / 0.5327 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.3551, allocations: 35 kB / 0.5327 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/0.3554, allocations: 257.4 kB / 0.533 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3554, allocations: 32.66 kB / 0.533 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3554, allocations: 0 / 0.533 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002239/0.3557, allocations: 110.7 kB / 0.5331 GB, free: 11.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3557, allocations: 51.41 kB / 0.5332 GB, free: 11.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.3558, allocations: 100.7 kB / 0.5333 GB, free: 11.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3558, allocations: 29.7 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.3558, allocations: 80.14 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.3559, allocations: 29.52 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.3559, allocations: 23.2 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3561, allocations: 316.2 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.3561, allocations: 22.92 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.3561, allocations: 23.11 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.3562, allocations: 49.61 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3562, allocations: 0 / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001314/0.3564, allocations: 82.53 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3564, allocations: 5.5 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3564, allocations: 3.938 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3564, allocations: 5.969 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.3565, allocations: 20.36 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3566, allocations: 1.375 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.3566, allocations: 1.375 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3566, allocations: 6.75 kB / 0.5339 GB, free: 10.84 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.124e-05/0.3567, allocations: 115.2 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.3567, allocations: 2.75 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.3569, allocations: 110.4 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3569, allocations: 1.375 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3569, allocations: 1.375 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.357, allocations: 0 / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.3571, allocations: 176.5 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3571, allocations: 0 / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.3572, allocations: 21.73 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3572, allocations: 0 / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3572, allocations: 5.312 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3572, allocations: 1.375 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3572, allocations: 0 / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.3574, allocations: 115.4 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.3574, allocations: 87.77 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3574, allocations: 5.312 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.3574, allocations: 4 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.3575, allocations: 10.73 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3575, allocations: 2.75 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.703e-05/0.3575, allocations: 76.66 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3575, allocations: 0 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.3577, allocations: 19 kB / 0.5347 GB, free: 10.11 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.0001532/0.3579, allocations: 102.4 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.358, allocations: 61.94 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.358, allocations: 384 / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.764e-05/0.3581, allocations: 36.11 kB / 0.5349 GB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.3582, allocations: 5.484 kB / 0.5349 GB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.3586, allocations: 138.8 kB / 0.535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3588, allocations: 0.6848 MB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.3588, allocations: 12.84 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.3589, allocations: 14.81 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3589, allocations: 0 / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of Templates: time 0.002672/0.3616, allocations: 0.6458 MB / 0.5363 GB, free: 8.801 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches