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.001051/0.001051, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 75.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2826, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001455/0.284, allocations: 0.537 MB / 0.5322 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006125/0.2847, allocations: 369.6 kB / 0.5325 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.2847, allocations: 0 / 0.5325 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.2847, allocations: 7.938 kB / 0.5325 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.2848, allocations: 3.938 kB / 0.5325 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.2851, allocations: 99.38 kB / 0.5326 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.467e-05/0.2852, allocations: 34.64 kB / 0.5327 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.2852, allocations: 3.844 kB / 0.5327 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.2853, allocations: 3.469 kB / 0.5327 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.2853, allocations: 22.8 kB / 0.5327 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.2853, allocations: 0 / 0.5327 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.2856, allocations: 126.9 kB / 0.5328 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.2856, allocations: 5.375 kB / 0.5328 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.2856, allocations: 19.98 kB / 0.5328 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.2858, allocations: 91.36 kB / 0.5329 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2858, allocations: 0 / 0.5329 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2858, allocations: 0 / 0.5329 GB, free: 12.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2858, allocations: 0 / 0.5329 GB, free: 12.69 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.0004244/0.2862, allocations: 366.1 kB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2863, allocations: 12.72 kB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.2863, allocations: 7.125 kB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2864, allocations: 168.8 kB / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.2864, allocations: 2.219 kB / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.2865, allocations: 7.844 kB / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.2866, allocations: 54.77 kB / 0.5335 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2866, allocations: 1.719 kB / 0.5335 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2866, allocations: 3.938 kB / 0.5335 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.2866, allocations: 0.7812 kB / 0.5335 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.2867, allocations: 27.8 kB / 0.5335 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.2869, allocations: 176.2 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.2871, allocations: 56.38 kB / 0.5338 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.2871, allocations: 33.12 kB / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.2874, allocations: 105.6 kB / 0.5339 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2874, allocations: 39.98 kB / 0.5339 GB, free: 11.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2874, allocations: 11.88 kB / 0.534 GB, free: 11.59 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.04298/0.3304, allocations: 2.569 MB / 0.5365 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.3305, allocations: 54.22 kB / 0.5365 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.3306, allocations: 95.08 kB / 0.5366 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.3306, allocations: 31.05 kB / 0.5366 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.3306, allocations: 89.22 kB / 0.5367 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.3307, allocations: 61.78 kB / 0.5368 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3308, allocations: 58.44 kB / 0.5368 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.3309, allocations: 329.2 kB / 0.5371 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.3313, allocations: 175.4 kB / 0.5373 GB, free: 9.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.3317, allocations: 168.1 kB / 0.5375 GB, free: 9.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3328, allocations: 423.4 kB / 0.5379 GB, free: 9.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3328, allocations: 0 / 0.5379 GB, free: 9.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001026/0.3338, allocations: 459.8 kB / 0.5383 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3339, allocations: 5.969 kB / 0.5383 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3339, allocations: 3.938 kB / 0.5383 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3339, allocations: 1.562 kB / 0.5383 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.3343, allocations: 74.62 kB / 0.5384 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3343, allocations: 0.9062 kB / 0.5384 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.3345, allocations: 13.95 kB / 0.5384 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.3346, allocations: 21.52 kB / 0.5384 GB, free: 8.871 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.0001265/0.3347, allocations: 128.5 kB / 0.5386 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.3347, allocations: 8.094 kB / 0.5386 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.3359, allocations: 0.537 MB / 0.5391 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.336, allocations: 1.156 kB / 0.5391 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.336, allocations: 7.938 kB / 0.5391 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.336, allocations: 87.5 kB / 0.5392 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.3361, allocations: 1.375 kB / 0.5392 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3363, allocations: 25.8 kB / 0.5392 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.3364, allocations: 9.453 kB / 0.5392 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001219/0.3376, allocations: 0.5492 MB / 0.5398 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001061/0.3387, allocations: 0.6172 MB / 0.5404 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000365/0.339, allocations: 191.6 kB / 0.5405 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.731e-05/0.3391, allocations: 86.73 kB / 0.5406 GB, free: 7.402 MB / 398.1 MB Notification: Performance of Backend: time 3.21e-07/0.3391, allocations: 0 / 0.5406 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.3412, allocations: 423.1 kB / 0.541 GB, free: 7.188 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005215/0.3417, allocations: 0.6145 MB / 0.5416 GB, free: 6.566 MB / 398.1 MB Notification: Performance of Templates: time 0.02324/0.365, allocations: 18.66 MB / 0.5599 GB, free: 4.531 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