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.001363/0.001368, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 79.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3342, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001613/0.3358, allocations: 0.5279 MB / 0.5322 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000439/0.3363, allocations: 156 kB / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.3363, allocations: 0 / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.3364, allocations: 3.938 kB / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.3367, allocations: 37.23 kB / 0.5323 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.928e-06/0.3367, allocations: 5.125 kB / 0.5323 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.3367, allocations: 24.7 kB / 0.5324 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.3368, allocations: 6.312 kB / 0.5324 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.3368, allocations: 10.52 kB / 0.5324 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.3369, allocations: 20.09 kB / 0.5324 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3369, allocations: 1.781 kB / 0.5324 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.337, allocations: 47.83 kB / 0.5325 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.337, allocations: 10 kB / 0.5325 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.3371, allocations: 13.89 kB / 0.5325 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.3372, allocations: 41.22 kB / 0.5325 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3372, allocations: 1.812 kB / 0.5325 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3372, allocations: 3.938 kB / 0.5325 GB, free: 12.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3372, allocations: 0 / 0.5325 GB, free: 12.94 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.0003371/0.3376, allocations: 331.3 kB / 0.5328 GB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3376, allocations: 8.531 kB / 0.5328 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.3377, allocations: 6.594 kB / 0.5329 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3378, allocations: 173.3 kB / 0.533 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.3379, allocations: 6.469 kB / 0.533 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3379, allocations: 3.25 kB / 0.533 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.338, allocations: 56.67 kB / 0.5331 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.338, allocations: 1.75 kB / 0.5331 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.338, allocations: 7.938 kB / 0.5331 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3381, allocations: 1.469 kB / 0.5331 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3382, allocations: 49.23 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.3384, allocations: 175.1 kB / 0.5333 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3386, allocations: 82.78 kB / 0.5334 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.3386, allocations: 31.84 kB / 0.5334 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.339, allocations: 254.4 kB / 0.5337 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.339, allocations: 30.56 kB / 0.5337 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.339, allocations: 0 / 0.5337 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002753/0.3393, allocations: 110.7 kB / 0.5338 GB, free: 11.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3393, allocations: 57.2 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/0.3394, allocations: 99.67 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3394, allocations: 25.7 kB / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.3395, allocations: 80.14 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.3395, allocations: 37.77 kB / 0.5341 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.3396, allocations: 24.22 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3397, allocations: 312.3 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.3398, allocations: 22.42 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.3398, allocations: 21.86 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.477e-05/0.3399, allocations: 48.27 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3399, allocations: 0.5625 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/0.34, allocations: 89.12 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3401, allocations: 9.438 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3401, allocations: 3.938 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3401, allocations: 1.375 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3402, allocations: 20.3 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3402, allocations: 5.375 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.3403, allocations: 1.375 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3403, allocations: 1.375 kB / 0.5346 GB, free: 10.83 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.97e-05/0.3404, allocations: 112.6 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.3404, allocations: 2.75 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.3406, allocations: 110.5 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3406, allocations: 1.375 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.3406, allocations: 1.375 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.3407, allocations: 8 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.3408, allocations: 172.5 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3408, allocations: 0 / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.3409, allocations: 17.73 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3409, allocations: 0 / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3409, allocations: 9.312 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3409, allocations: 1.375 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3409, allocations: 0 / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.3411, allocations: 107.4 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3411, allocations: 87.77 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.3411, allocations: 3.938 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/0.3412, allocations: 5.375 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.3412, allocations: 10.67 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3412, allocations: 2.75 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.524e-05/0.3413, allocations: 76.94 kB / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3413, allocations: 0 / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.3415, allocations: 19 kB / 0.5353 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.0001545/0.3416, allocations: 114.5 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.3418, allocations: 52.92 kB / 0.5355 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3418, allocations: 1.375 kB / 0.5355 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.3418, allocations: 35.17 kB / 0.5355 GB, free: 9.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.342, allocations: 13.73 kB / 0.5355 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.3424, allocations: 161.1 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3426, allocations: 0.6848 MB / 0.5364 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.3427, allocations: 11.56 kB / 0.5364 GB, free: 9.102 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3427, allocations: 0 / 0.5364 GB, free: 9.102 MB / 398.1 MB Notification: Performance of Templates: time 0.00236/0.3451, allocations: 0.8131 MB / 0.5372 GB, free: 8.691 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