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/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.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/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 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.2096/0.2096, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.307, allocations: 62.43 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001542/0.3086, allocations: 0.5399 MB / 0.5322 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006795/0.3093, allocations: 369.3 kB / 0.5325 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.3094, allocations: 0 / 0.5325 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.3094, allocations: 3.938 kB / 0.5325 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.143e-05/0.3094, allocations: 0 / 0.5325 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.3099, allocations: 103.4 kB / 0.5326 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.3099, allocations: 30.94 kB / 0.5327 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.31, allocations: 7.766 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.268e-05/0.31, allocations: 13.31 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.3101, allocations: 23.55 kB / 0.5327 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3101, allocations: 3.625 kB / 0.5327 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.3103, allocations: 121.7 kB / 0.5328 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.3104, allocations: 1.188 kB / 0.5328 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.3104, allocations: 19.73 kB / 0.5328 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3106, allocations: 95.83 kB / 0.5329 GB, free: 12.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3106, allocations: 0 / 0.5329 GB, free: 12.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3106, allocations: 0 / 0.5329 GB, free: 12.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3106, allocations: 0 / 0.5329 GB, free: 12.64 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004185/0.311, allocations: 362.8 kB / 0.5333 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3111, allocations: 11.61 kB / 0.5333 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.3111, allocations: 10.62 kB / 0.5333 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3112, allocations: 166.4 kB / 0.5335 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3112, allocations: 1.75 kB / 0.5335 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3113, allocations: 3.125 kB / 0.5335 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3114, allocations: 58.55 kB / 0.5335 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3114, allocations: 1.562 kB / 0.5335 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3114, allocations: 3.938 kB / 0.5335 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3114, allocations: 1.375 kB / 0.5335 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.613e-05/0.3115, allocations: 32.48 kB / 0.5336 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.3117, allocations: 171.1 kB / 0.5337 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3119, allocations: 60.7 kB / 0.5338 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.312, allocations: 25.22 kB / 0.5338 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.3122, allocations: 105.6 kB / 0.5339 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3123, allocations: 39.88 kB / 0.5339 GB, free: 11.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3123, allocations: 0 / 0.5339 GB, free: 11.56 MB / 398.1 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.04276/0.355, allocations: 2.574 MB / 0.5365 GB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.3551, allocations: 53.41 kB / 0.5365 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.3552, allocations: 104.8 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.3552, allocations: 25.7 kB / 0.5366 GB, free: 9.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.3553, allocations: 89.05 kB / 0.5367 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.3554, allocations: 62.72 kB / 0.5368 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3555, allocations: 58.81 kB / 0.5368 GB, free: 9.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3556, allocations: 324.2 kB / 0.5371 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.356, allocations: 175.2 kB / 0.5373 GB, free: 9.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.3564, allocations: 177 kB / 0.5375 GB, free: 9.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.3574, allocations: 422.1 kB / 0.5379 GB, free: 9.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3575, allocations: 0 / 0.5379 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001075/0.3585, allocations: 456.5 kB / 0.5383 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3586, allocations: 5.531 kB / 0.5383 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3586, allocations: 0 / 0.5383 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3586, allocations: 5.094 kB / 0.5383 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.359, allocations: 72.12 kB / 0.5384 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.359, allocations: 4.453 kB / 0.5384 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.3593, allocations: 21.83 kB / 0.5384 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.3593, allocations: 17.02 kB / 0.5384 GB, free: 8.828 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 (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 0.0001294/0.3594, allocations: 122.1 kB / 0.5386 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.3595, allocations: 8.094 kB / 0.5386 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.3608, allocations: 0.5479 MB / 0.5391 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3608, allocations: 1.406 kB / 0.5391 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3608, allocations: 0 / 0.5391 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.3608, allocations: 83.98 kB / 0.5392 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.3609, allocations: 9.422 kB / 0.5392 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3611, allocations: 17.36 kB / 0.5392 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.3612, allocations: 17.88 kB / 0.5392 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00134/0.3625, allocations: 0.555 MB / 0.5398 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001118/0.3637, allocations: 0.6067 MB / 0.5404 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000403/0.3641, allocations: 198.5 kB / 0.5405 GB, free: 7.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.422e-05/0.3641, allocations: 79.84 kB / 0.5406 GB, free: 7.363 MB / 398.1 MB Notification: Performance of Backend: time 3.6e-07/0.3641, allocations: 0 / 0.5406 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.3663, allocations: 435.1 kB / 0.541 GB, free: 7.137 MB / 398.1 MB Notification: Performance of SimCode: time 0.000504/0.3668, allocations: 0.6104 MB / 0.5416 GB, free: 6.52 MB / 398.1 MB Notification: Performance of Templates: time 0.02485/0.3917, allocations: 18.49 MB / 0.5597 GB, free: 4.668 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches