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.001358/0.001358, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001044/0.001044, allocations: 161 kB / 24.56 MB, free: 16 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 0.9735/0.9735, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2599/0.2599, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.764e-06/1.764e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.25e-05, allocations: 6.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001334/0.001367, allocations: 0.5428 MB / 376.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000568/0.001935, allocations: 350.6 kB / 376.9 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.001967, allocations: 0 / 376.9 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.001989, allocations: 4 kB / 376.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.002025, allocations: 3.938 kB / 376.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.002463, allocations: 107.6 kB / 377 MB, free: 3.672 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.867e-05/0.002522, allocations: 23.92 kB / 377 MB, free: 3.648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.00257, allocations: 3.984 kB / 377 MB, free: 3.645 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.002607, allocations: 19.97 kB / 377.1 MB, free: 3.625 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.002659, allocations: 11.92 kB / 377.1 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.002677, allocations: 4 kB / 377.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.002881, allocations: 115.8 kB / 377.2 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.002897, allocations: 4 kB / 377.2 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.002922, allocations: 15.92 kB / 377.2 MB, free: 3.477 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.003108, allocations: 115.7 kB / 377.3 MB, free: 3.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.00311, allocations: 0 / 377.3 MB, free: 3.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.003112, allocations: 0 / 377.3 MB, free: 3.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.003117, allocations: 0 / 377.3 MB, free: 3.363 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.0004402/0.003557, allocations: 388.3 kB / 377.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.003603, allocations: 8.031 kB / 377.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.003654, allocations: 12.89 kB / 377.7 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.003759, allocations: 116.6 kB / 377.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.003771, allocations: 4.375 kB / 377.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.003807, allocations: 12.31 kB / 377.8 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.003908, allocations: 50.23 kB / 377.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.00392, allocations: 4.141 kB / 377.9 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.00393, allocations: 4.312 kB / 377.9 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.00394, allocations: 4.375 kB / 377.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.003988, allocations: 23.92 kB / 377.9 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.004137, allocations: 128.5 kB / 378.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.004333, allocations: 55.05 kB / 378.1 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.004372, allocations: 27.67 kB / 378.1 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.004571, allocations: 31.95 kB / 378.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.004598, allocations: 41.39 kB / 378.2 MB, free: 2.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.0046, allocations: 0 / 378.2 MB, free: 2.34 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.01884/0.02343, allocations: 2.409 MB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.02348, allocations: 55.41 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.02359, allocations: 161.9 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.02362, allocations: 25.7 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.02367, allocations: 130.9 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.02375, allocations: 67.44 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.02385, allocations: 63.33 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.02399, allocations: 496.1 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.02416, allocations: 151.9 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.02432, allocations: 150.7 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.0248, allocations: 363.5 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.0248, allocations: 4 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000521/0.02533, allocations: 408.2 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.02535, allocations: 8 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.02536, allocations: 0 / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.02538, allocations: 0 / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.02561, allocations: 76.12 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.02561, allocations: 4 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.02571, allocations: 19.98 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.02574, allocations: 23.98 kB / 382.8 MB, free: 13.66 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.0001273/0.02586, allocations: 160.6 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.02591, allocations: 19.89 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/0.02662, allocations: 489.8 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.02663, allocations: 4 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.02663, allocations: 0 / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.02664, allocations: 3.984 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.02789, allocations: 0.7883 MB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.02789, allocations: 0 / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.02805, allocations: 71.88 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.02806, allocations: 8.188 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.02809, allocations: 15.98 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.0281, allocations: 4 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.0281, allocations: 7.938 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.0286, allocations: 461.8 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.02862, allocations: 11.95 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.02864, allocations: 4 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.02875, allocations: 23.97 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.02878, allocations: 23.91 kB / 384.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.0288, allocations: 19.98 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.457e-05/0.02885, allocations: 127.2 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02885, allocations: 3.938 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007719/0.02962, allocations: 315.6 kB / 385.3 MB, free: 11.01 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.001026/0.03064, allocations: 258.7 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.03104, allocations: 292.9 kB / 385.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.03104, allocations: 0 / 385.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.03118, allocations: 131.6 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.0314, allocations: 30.39 kB / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.03219, allocations: 416.4 kB / 386.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.414e-05/0.03226, allocations: 67.83 kB / 386.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.03246, allocations: 101.2 kB / 386.6 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.0326, allocations: 48.47 kB / 386.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.273e-06/0.0326, allocations: 0 / 386.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of Templates: time 0.01998/0.05259, allocations: 18.71 MB / 405.3 MB, free: 6.891 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.389437635894865]