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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.88 MB / 361.3 MB, free: 4.457 MB / 286.1 MB " [Timeout remaining time 180] 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=5000,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=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 75.86 kB / 0.497 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3076, allocations: 66.03 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001653/0.3093, allocations: 0.542 MB / 0.5621 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.31, allocations: 370.7 kB / 0.5624 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.31, allocations: 0 / 0.5624 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.31, allocations: 7.938 kB / 0.5624 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.861e-05/0.31, allocations: 3.938 kB / 0.5624 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.3104, allocations: 99.66 kB / 0.5625 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.952e-05/0.3105, allocations: 27.91 kB / 0.5625 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.3105, allocations: 7.797 kB / 0.5626 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.3105, allocations: 7.984 kB / 0.5626 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.3106, allocations: 27.86 kB / 0.5626 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3106, allocations: 0 / 0.5626 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.3108, allocations: 123.9 kB / 0.5627 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.3109, allocations: 3.984 kB / 0.5627 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.3109, allocations: 15.88 kB / 0.5627 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3111, allocations: 98.41 kB / 0.5628 GB, free: 3.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3111, allocations: 0 / 0.5628 GB, free: 3.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3111, allocations: 0 / 0.5628 GB, free: 3.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3111, allocations: 0 / 0.5628 GB, free: 3.316 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.0004225/0.3115, allocations: 297.9 kB / 0.5631 GB, free: 2.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3115, allocations: 8.031 kB / 0.5631 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.3116, allocations: 8.938 kB / 0.5631 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.3117, allocations: 110.5 kB / 0.5632 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.3117, allocations: 384 / 0.5632 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3117, allocations: 4.375 kB / 0.5632 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3118, allocations: 54.23 kB / 0.5633 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3119, allocations: 4.125 kB / 0.5633 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3119, allocations: 7.938 kB / 0.5633 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.3119, allocations: 7.984 kB / 0.5633 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.706e-05/0.312, allocations: 27.98 kB / 0.5633 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.3121, allocations: 148.5 kB / 0.5635 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.3123, allocations: 50.84 kB / 0.5635 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.3124, allocations: 28.78 kB / 0.5635 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.3126, allocations: 27.95 kB / 0.5636 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3126, allocations: 38.56 kB / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.3126, allocations: 4 kB / 0.5636 GB, free: 2.379 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.04222/0.3549, allocations: 2.566 MB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3549, allocations: 55.41 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.355, allocations: 98.31 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.355, allocations: 33.7 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.3551, allocations: 83.89 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.3552, allocations: 67.44 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3553, allocations: 57.69 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3555, allocations: 330.7 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.3559, allocations: 171.9 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.3562, allocations: 170.7 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3573, allocations: 424.6 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3573, allocations: 3.938 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001111/0.3584, allocations: 468 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3584, allocations: 6.656 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3585, allocations: 3.984 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3585, allocations: 4 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.3588, allocations: 67.94 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3589, allocations: 3.938 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.3591, allocations: 19.97 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.3591, allocations: 16 kB / 0.5681 GB, free: 13.69 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.0001379/0.3592, allocations: 123.1 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.3593, allocations: 7.953 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.3606, allocations: 0.5446 MB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3606, allocations: 0 / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3606, allocations: 0 / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3606, allocations: 7.984 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.3629, allocations: 0.8532 MB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3629, allocations: 0 / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.3632, allocations: 75.88 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3632, allocations: 4 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.3632, allocations: 11.98 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3632, allocations: 4.25 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3632, allocations: 0 / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.3642, allocations: 482.2 kB / 0.5702 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.3642, allocations: 7.953 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.3642, allocations: 8 kB / 0.5702 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3644, allocations: 23.97 kB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3645, allocations: 7.984 kB / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.3645, allocations: 19.98 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.3645, allocations: 83.28 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3645, allocations: 0 / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008547/0.3654, allocations: 319.6 kB / 0.5706 GB, free: 11.01 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.001266/0.3667, allocations: 238.6 kB / 0.5708 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008362/0.3675, allocations: 331.7 kB / 0.5711 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3675, allocations: 0 / 0.5711 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.3679, allocations: 139.8 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3681, allocations: 12.36 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3694, allocations: 418.2 kB / 0.5717 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.3697, allocations: 0.6964 MB / 0.5724 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.37, allocations: 92.98 kB / 0.5725 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3702, allocations: 55.39 kB / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3702, allocations: 4 kB / 0.5725 GB, free: 8.961 MB / 414.1 MB Notification: Performance of Templates: time 0.0242/0.3944, allocations: 17.95 MB / 0.59 GB, free: 7.027 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.831484988331795]