Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 110.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.323/0.323, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3115, allocations: 62.01 MB / 0.5151 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001762/0.3133, allocations: 0.606 MB / 0.5157 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006604/0.314, allocations: 390.3 kB / 0.5161 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.314, allocations: 0 / 0.5161 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.3141, allocations: 3.938 kB / 0.5161 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.998e-05/0.3141, allocations: 0 / 0.5161 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.3145, allocations: 70.5 kB / 0.5162 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.148e-05/0.3145, allocations: 29.77 kB / 0.5162 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.3146, allocations: 2.812 kB / 0.5162 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.3146, allocations: 10 kB / 0.5162 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.3146, allocations: 24.31 kB / 0.5162 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.3147, allocations: 0 / 0.5162 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.3149, allocations: 114.7 kB / 0.5164 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.3149, allocations: 14.22 kB / 0.5164 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.3149, allocations: 6.812 kB / 0.5164 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.3151, allocations: 104.1 kB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3151, allocations: 0 / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3151, allocations: 3.938 kB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.3151, allocations: 0 / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003595/0.3155, allocations: 367.5 kB / 0.5168 GB, free: 36.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3155, allocations: 9.656 kB / 0.5168 GB, free: 36.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.3156, allocations: 3.812 kB / 0.5168 GB, free: 36.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.979e-05/0.3156, allocations: 170.8 kB / 0.517 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3157, allocations: 384 / 0.517 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.3157, allocations: 7.219 kB / 0.517 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.3158, allocations: 59.02 kB / 0.5171 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3158, allocations: 192 / 0.5171 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3158, allocations: 7.938 kB / 0.5171 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3158, allocations: 2.844 kB / 0.5171 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.3159, allocations: 25.05 kB / 0.5171 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.316, allocations: 166.2 kB / 0.5173 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3162, allocations: 61.41 kB / 0.5173 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.3163, allocations: 31.09 kB / 0.5173 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.3165, allocations: 102.5 kB / 0.5174 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.3166, allocations: 37.16 kB / 0.5175 GB, free: 35.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3166, allocations: 0 / 0.5175 GB, free: 35.89 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.04179/0.3584, allocations: 2.593 MB / 0.52 GB, free: 35.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.3584, allocations: 54.06 kB / 0.5201 GB, free: 35.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.3585, allocations: 102.5 kB / 0.5202 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3585, allocations: 29.7 kB / 0.5202 GB, free: 35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.3586, allocations: 82.7 kB / 0.5203 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.3586, allocations: 59.5 kB / 0.5203 GB, free: 34.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3588, allocations: 63.25 kB / 0.5204 GB, free: 34.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.3588, allocations: 321.8 kB / 0.5207 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.3592, allocations: 170.2 kB / 0.5209 GB, free: 34.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.3595, allocations: 178.1 kB / 0.521 GB, free: 34.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008949/0.3604, allocations: 421 kB / 0.5214 GB, free: 34.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3604, allocations: 0 / 0.5214 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009215/0.3614, allocations: 464.3 kB / 0.5219 GB, free: 34.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3614, allocations: 2.906 kB / 0.5219 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3614, allocations: 0 / 0.5219 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3614, allocations: 2.906 kB / 0.5219 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.3618, allocations: 76.5 kB / 0.522 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.3618, allocations: 0 / 0.522 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.362, allocations: 18.44 kB / 0.522 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.3621, allocations: 17.61 kB / 0.522 GB, free: 34.04 MB / 378.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 (19): * Single equations (assignments): 19 * 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 9.392e-05/0.3622, allocations: 121.4 kB / 0.5221 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.3622, allocations: 9.344 kB / 0.5221 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.3634, allocations: 0.5397 MB / 0.5226 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3634, allocations: 6.844 kB / 0.5226 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3634, allocations: 3.234 kB / 0.5226 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3634, allocations: 2.875 kB / 0.5226 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.3653, allocations: 0.8884 MB / 0.5235 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3653, allocations: 3.031 kB / 0.5235 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.3656, allocations: 66.12 kB / 0.5236 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3656, allocations: 2.688 kB / 0.5236 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.3656, allocations: 18.7 kB / 0.5236 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3657, allocations: 6.422 kB / 0.5236 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3657, allocations: 7.031 kB / 0.5236 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.3669, allocations: 1.126 MB / 0.5247 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.367, allocations: 89.59 kB / 0.5248 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.367, allocations: 6.531 kB / 0.5248 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.3672, allocations: 21.02 kB / 0.5248 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.3672, allocations: 23.11 kB / 0.5248 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.3673, allocations: 16.73 kB / 0.5249 GB, free: 32.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.247e-05/0.3673, allocations: 78 kB / 0.5249 GB, free: 32.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3673, allocations: 0 / 0.5249 GB, free: 32.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009145/0.3682, allocations: 316.7 kB / 0.5252 GB, free: 32.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.001431/0.3696, allocations: 237.3 kB / 0.5255 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007752/0.3704, allocations: 331.7 kB / 0.5258 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3705, allocations: 4 kB / 0.5258 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.3708, allocations: 146.7 kB / 0.5259 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3711, allocations: 19.03 kB / 0.5259 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3723, allocations: 0.5921 MB / 0.5265 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3725, allocations: 0.6984 MB / 0.5272 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003448/0.3728, allocations: 92.77 kB / 0.5273 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.373, allocations: 46.31 kB / 0.5273 GB, free: 30.68 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.373, allocations: 3.938 kB / 0.5273 GB, free: 30.68 MB / 378.7 MB Notification: Performance of Templates: time 0.02435/0.3973, allocations: 17.77 MB / 0.5447 GB, free: 24.1 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches