Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 213.3 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 230.2 MB / 256.8 MB, free: 8.641 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2257/0.2257, allocations: 46.89 MB / 359.9 MB, free: 5.012 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.88 kB / 0.495 GB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2859, allocations: 65.98 MB / 0.5594 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001598/0.2875, allocations: 0.526 MB / 0.5599 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007113/0.2882, allocations: 368.5 kB / 0.5603 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.2882, allocations: 0 / 0.5603 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.2883, allocations: 3.938 kB / 0.5603 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.828e-05/0.2883, allocations: 3.938 kB / 0.5603 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.2887, allocations: 107.6 kB / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.2888, allocations: 31.89 kB / 0.5604 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.2888, allocations: 11.8 kB / 0.5604 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.2888, allocations: 11.94 kB / 0.5604 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.2889, allocations: 15.92 kB / 0.5604 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2889, allocations: 4 kB / 0.5604 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.2891, allocations: 119.9 kB / 0.5605 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.2891, allocations: 4 kB / 0.5606 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.2892, allocations: 19.86 kB / 0.5606 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.2893, allocations: 94.27 kB / 0.5607 GB, free: 3.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2893, allocations: 4 kB / 0.5607 GB, free: 3.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2893, allocations: 0 / 0.5607 GB, free: 3.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2894, allocations: 0 / 0.5607 GB, free: 3.906 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.0004682/0.2898, allocations: 371 kB / 0.561 GB, free: 3.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2899, allocations: 12.03 kB / 0.561 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.2899, allocations: 0.9375 kB / 0.561 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.29, allocations: 168.3 kB / 0.5612 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.2901, allocations: 8.359 kB / 0.5612 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.2901, allocations: 4.375 kB / 0.5612 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2902, allocations: 58.23 kB / 0.5613 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2902, allocations: 192 / 0.5613 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2902, allocations: 15.88 kB / 0.5613 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.2902, allocations: 3.938 kB / 0.5613 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.2903, allocations: 27.98 kB / 0.5613 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.2905, allocations: 169.6 kB / 0.5615 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.2907, allocations: 46.56 kB / 0.5615 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.2907, allocations: 33.06 kB / 0.5615 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.291, allocations: 105.1 kB / 0.5616 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.291, allocations: 34.55 kB / 0.5617 GB, free: 2.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.291, allocations: 4 kB / 0.5617 GB, free: 2.684 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.04241/0.3334, allocations: 2.573 MB / 0.5642 GB, free: 80 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.3335, allocations: 55.41 kB / 0.5642 GB, free: 12 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3336, allocations: 97.86 kB / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.3336, allocations: 33.7 kB / 0.5644 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.3337, allocations: 91.88 kB / 0.5645 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.3338, allocations: 63.44 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3339, allocations: 57.69 kB / 0.5646 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3341, allocations: 322.8 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.3345, allocations: 171.8 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.3348, allocations: 182.1 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3359, allocations: 416.6 kB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3359, allocations: 0 / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001076/0.337, allocations: 466.9 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.337, allocations: 4 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.337, allocations: 480 / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.337, allocations: 4 kB / 0.5661 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.3374, allocations: 67.94 kB / 0.5661 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3374, allocations: 4 kB / 0.5661 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3377, allocations: 16.23 kB / 0.5662 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.3377, allocations: 23.86 kB / 0.5662 GB, free: 13.99 MB / 414.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.0001391/0.3378, allocations: 121.8 kB / 0.5663 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.3379, allocations: 11.94 kB / 0.5663 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.3392, allocations: 0.548 MB / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3392, allocations: 0 / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3392, allocations: 0 / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3392, allocations: 4 kB / 0.5668 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.3415, allocations: 0.8852 MB / 0.5677 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3415, allocations: 0 / 0.5677 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.3418, allocations: 67.94 kB / 0.5678 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.3418, allocations: 7.938 kB / 0.5678 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.3418, allocations: 15.98 kB / 0.5678 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.3418, allocations: 4 kB / 0.5678 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.3418, allocations: 8.188 kB / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.3428, allocations: 468.2 kB / 0.5683 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.3428, allocations: 85.06 kB / 0.5683 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.3429, allocations: 8 kB / 0.5683 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.3431, allocations: 15.97 kB / 0.5684 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3432, allocations: 19.98 kB / 0.5684 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.3432, allocations: 19.98 kB / 0.5684 GB, free: 11.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.3432, allocations: 79.28 kB / 0.5685 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3432, allocations: 3.938 kB / 0.5685 GB, free: 11.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000934/0.3442, allocations: 319.6 kB / 0.5688 GB, free: 11.18 MB / 414.1 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.001267/0.3454, allocations: 234.7 kB / 0.569 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.3463, allocations: 327.7 kB / 0.5693 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3463, allocations: 0 / 0.5693 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.3466, allocations: 144.2 kB / 0.5695 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.3469, allocations: 12 kB / 0.5695 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3482, allocations: 439.9 kB / 0.5699 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3486, allocations: 0.6926 MB / 0.5706 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3488, allocations: 59.39 kB / 0.5706 GB, free: 9.211 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3488, allocations: 0 / 0.5706 GB, free: 9.211 MB / 414.1 MB Notification: Performance of Templates: time 0.01138/0.3601, allocations: 6.55 MB / 0.577 GB, free: 2.711 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches