Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 169.3 kB / 24.28 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.623/1.623, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3246/0.3246, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.599e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001607/0.001633, allocations: 0.5322 MB / 375.8 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007214/0.002355, allocations: 342.7 kB / 376.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.002383, allocations: 4 kB / 376.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.002399, allocations: 3.938 kB / 376.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.002446, allocations: 3.938 kB / 376.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.002847, allocations: 103.6 kB / 376.2 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.002908, allocations: 27.91 kB / 376.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.002942, allocations: 0 / 376.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.002987, allocations: 27.84 kB / 376.3 MB, free: 3.949 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.003037, allocations: 7.984 kB / 376.3 MB, free: 3.941 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.003052, allocations: 8 kB / 376.3 MB, free: 3.934 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.003283, allocations: 107.9 kB / 376.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.0033, allocations: 7.984 kB / 376.4 MB, free: 3.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.003324, allocations: 11.92 kB / 376.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.00355, allocations: 111.7 kB / 376.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003551, allocations: 0 / 376.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003552, allocations: 0 / 376.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.003555, allocations: 0 / 376.5 MB, free: 3.699 MB / 346.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.0005004/0.004055, allocations: 395.9 kB / 376.9 MB, free: 3.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.00409, allocations: 8.031 kB / 376.9 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.004134, allocations: 8.891 kB / 376.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.004263, allocations: 128.5 kB / 377.1 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.004281, allocations: 8.312 kB / 377.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.0043, allocations: 384 / 377.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.004432, allocations: 54.25 kB / 377.1 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.004447, allocations: 4.141 kB / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.004456, allocations: 384 / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.00446, allocations: 384 / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.004542, allocations: 31.91 kB / 377.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.004738, allocations: 132.6 kB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.004972, allocations: 59.03 kB / 377.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.005023, allocations: 27.69 kB / 377.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.005276, allocations: 35.94 kB / 377.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.005312, allocations: 37.39 kB / 377.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.005313, allocations: 4 kB / 377.5 MB, free: 2.652 MB / 346.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.04438/0.04969, allocations: 2.662 MB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.04975, allocations: 55.41 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.04988, allocations: 161.9 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.04992, allocations: 25.7 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.05, allocations: 134.9 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/0.05009, allocations: 63.44 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.05024, allocations: 67.33 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002734/0.05052, allocations: 0.4884 MB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.05101, allocations: 223.9 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.05149, allocations: 223.8 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.05273, allocations: 498.1 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.05274, allocations: 0 / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001303/0.05404, allocations: 0.5443 MB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.05406, allocations: 4 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.05406, allocations: 0 / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.05409, allocations: 8 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.05452, allocations: 72.12 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.05453, allocations: 0 / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.05476, allocations: 27.97 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.0548, allocations: 15.98 kB / 382.7 MB, free: 13.3 MB / 362.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 0.0001653/0.05497, allocations: 164.6 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.05503, allocations: 15.89 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.05655, allocations: 0.629 MB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.05656, allocations: 4 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.05656, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.05656, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.05903, allocations: 0.9016 MB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.05903, allocations: 0 / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.05936, allocations: 71.88 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.05936, allocations: 4 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.0594, allocations: 19.92 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.05941, allocations: 4 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.05941, allocations: 3.938 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.06058, allocations: 0.5565 MB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.0606, allocations: 11.95 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.06064, allocations: 4 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.06085, allocations: 23.97 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.0609, allocations: 19.92 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.06094, allocations: 15.98 kB / 385.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.491e-05/0.06102, allocations: 131.2 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06102, allocations: 0 / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009639/0.06198, allocations: 315.6 kB / 385.6 MB, free: 10.3 MB / 362.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.001411/0.0634, allocations: 258.7 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.06442, allocations: 416.3 kB / 386.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.06443, allocations: 4 kB / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.06487, allocations: 179.2 kB / 386.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.06517, allocations: 30.77 kB / 386.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.06666, allocations: 480.2 kB / 386.9 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.732e-05/0.06676, allocations: 83.42 kB / 387 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.06709, allocations: 97.17 kB / 387.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.0673, allocations: 52.45 kB / 387.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0673, allocations: 0 / 387.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of Templates: time 0.03008/0.09738, allocations: 18.71 MB / 405.8 MB, free: 5.934 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.060155980987474]