Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002004/0.002004, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.00224/0.00224, allocations: 157.7 kB / 24.27 MB, free: 168 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.467/1.467, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3334/0.3334, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.615e-05, allocations: 9.688 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00177/0.001796, allocations: 0.5322 MB / 377.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.002535, allocations: 338.7 kB / 378.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.002562, allocations: 0 / 378.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.002577, allocations: 3.938 kB / 378.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.00262, allocations: 3.938 kB / 378.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.003036, allocations: 111.6 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.003093, allocations: 23.92 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.003139, allocations: 3.984 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.003181, allocations: 15.98 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.003237, allocations: 19.92 kB / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.003253, allocations: 4 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.00348, allocations: 111.9 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.003494, allocations: 4 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.003521, allocations: 7.984 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.003741, allocations: 119.6 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003743, allocations: 0 / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003744, allocations: 0 / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.003748, allocations: 3.938 kB / 378.6 MB, free: 1.656 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.0004759/0.004223, allocations: 286 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.004257, allocations: 12.03 kB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.004304, allocations: 8.891 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.004434, allocations: 117.7 kB / 379 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.004448, allocations: 4.375 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.004475, allocations: 4.375 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.004618, allocations: 58.17 kB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.004634, allocations: 8.141 kB / 379.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.004648, allocations: 4.359 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.004652, allocations: 384 / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.004723, allocations: 27.92 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.0049, allocations: 109.3 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.005141, allocations: 66.52 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.005194, allocations: 20.86 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.005434, allocations: 27.95 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.005465, allocations: 38.56 kB / 379.3 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005466, allocations: 0 / 379.3 MB, free: 0.7656 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.04172/0.04718, allocations: 2.572 MB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.04724, allocations: 51.41 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.04736, allocations: 106 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.0474, allocations: 29.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.04746, allocations: 84.14 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.717e-05/0.04756, allocations: 67.42 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.0477, allocations: 57.67 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.04788, allocations: 318.8 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.04833, allocations: 175.9 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.04876, allocations: 184 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.04989, allocations: 407.1 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.04989, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001207/0.0511, allocations: 480 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.05111, allocations: 8 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.05112, allocations: 0 / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.05114, allocations: 0 / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.05154, allocations: 71.94 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.05155, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.05177, allocations: 23.97 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.05184, allocations: 19.98 kB / 384 MB, free: 12.07 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.0001499/0.05199, allocations: 117.8 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.05206, allocations: 19.89 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.05349, allocations: 0.5291 MB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.05349, allocations: 11.98 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.0535, allocations: 0 / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.0535, allocations: 0 / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.05608, allocations: 0.78 MB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.05609, allocations: 4 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.0564, allocations: 72.12 kB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.05641, allocations: 4 kB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.05645, allocations: 15.98 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.05645, allocations: 3.938 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.05646, allocations: 7.938 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.05753, allocations: 460.4 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.05754, allocations: 7.953 kB / 386 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.05759, allocations: 8 kB / 386 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.05782, allocations: 19.91 kB / 386 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.05785, allocations: 19.92 kB / 386 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.05789, allocations: 23.98 kB / 386 MB, free: 9.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.053e-05/0.05795, allocations: 83.28 kB / 386.1 MB, free: 9.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05795, allocations: 0 / 386.1 MB, free: 9.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009578/0.05891, allocations: 315.6 kB / 386.4 MB, free: 9.488 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.001436/0.06034, allocations: 262.7 kB / 386.7 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008948/0.06124, allocations: 324.6 kB / 387 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.06124, allocations: 0 / 387 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.06162, allocations: 151.8 kB / 387.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.06194, allocations: 30.77 kB / 387.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.06339, allocations: 432.6 kB / 387.6 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.526e-05/0.06349, allocations: 79.42 kB / 387.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003373/0.06383, allocations: 92.98 kB / 387.8 MB, free: 8.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.06404, allocations: 52.45 kB / 387.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.06404, allocations: 4 kB / 387.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of Templates: time 0.02869/0.09273, allocations: 18.15 MB / 406 MB, free: 5.863 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.882763543981127]