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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001402/0.001402, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.457/1.457, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2264/0.2264, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] 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.002364/0.002364, allocations: 83.86 kB / 0.4967 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2727, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001588/0.2742, allocations: 0.5304 MB / 0.5617 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.275, allocations: 378.6 kB / 0.5621 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.275, allocations: 0 / 0.5621 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.275, allocations: 3.938 kB / 0.5621 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.579e-05/0.275, allocations: 0 / 0.5621 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.2754, allocations: 107.6 kB / 0.5622 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.2755, allocations: 31.86 kB / 0.5622 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.2755, allocations: 3.797 kB / 0.5622 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.2755, allocations: 19.91 kB / 0.5622 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.2756, allocations: 19.92 kB / 0.5622 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2756, allocations: 0 / 0.5622 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.2758, allocations: 119.9 kB / 0.5624 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.2758, allocations: 3.984 kB / 0.5624 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.2759, allocations: 15.88 kB / 0.5624 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.276, allocations: 98.69 kB / 0.5625 GB, free: 3.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.276, allocations: 0 / 0.5625 GB, free: 3.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.276, allocations: 0 / 0.5625 GB, free: 3.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.276, allocations: 4 kB / 0.5625 GB, free: 3.684 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.0004542/0.2765, allocations: 367.1 kB / 0.5628 GB, free: 3.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2765, allocations: 12.86 kB / 0.5628 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.2766, allocations: 4.938 kB / 0.5628 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.2767, allocations: 172.3 kB / 0.563 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2767, allocations: 8.312 kB / 0.563 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.2767, allocations: 4.375 kB / 0.563 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.2769, allocations: 50.25 kB / 0.5631 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2769, allocations: 4.188 kB / 0.5631 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2769, allocations: 3.938 kB / 0.5631 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2769, allocations: 3.938 kB / 0.5631 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.102e-05/0.277, allocations: 31.97 kB / 0.5631 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.2772, allocations: 173.5 kB / 0.5633 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.2774, allocations: 50.55 kB / 0.5633 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.2774, allocations: 24.86 kB / 0.5633 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.2777, allocations: 109.1 kB / 0.5635 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.2777, allocations: 30.56 kB / 0.5635 GB, free: 2.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 4.799e-06/0.2777, allocations: 3.984 kB / 0.5635 GB, free: 2.469 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.04561/0.3233, allocations: 2.574 MB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3234, allocations: 51.41 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.3235, allocations: 109.8 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.3235, allocations: 29.7 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.3236, allocations: 87.89 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.3237, allocations: 63.44 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.3238, allocations: 65.67 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3239, allocations: 318.8 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.3244, allocations: 171.9 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.3248, allocations: 183.8 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.326, allocations: 415.9 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.326, allocations: 0 / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00115/0.3271, allocations: 461.4 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3271, allocations: 4 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3271, allocations: 0 / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3271, allocations: 3.938 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.3276, allocations: 75.94 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3276, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.3278, allocations: 19.97 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.3278, allocations: 15.98 kB / 0.568 GB, free: 13.77 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.0001454/0.328, allocations: 125.7 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.328, allocations: 7.953 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.3294, allocations: 0.5368 MB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3294, allocations: 4 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3294, allocations: 0 / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3294, allocations: 0 / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.3318, allocations: 0.8818 MB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3318, allocations: 4 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.3321, allocations: 68.34 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3321, allocations: 4 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.3321, allocations: 16 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3321, allocations: 8.172 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3321, allocations: 7.938 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3332, allocations: 479.1 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.3332, allocations: 85.06 kB / 0.5701 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.3332, allocations: 4 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3335, allocations: 23.97 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.3335, allocations: 19.92 kB / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.3335, allocations: 12 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.501e-05/0.3336, allocations: 87.27 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3336, allocations: 0 / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008387/0.3344, allocations: 319.5 kB / 0.5706 GB, free: 10.96 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.001337/0.3358, allocations: 226.7 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009253/0.3367, allocations: 331.6 kB / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3367, allocations: 0 / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.3371, allocations: 152.1 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3374, allocations: 14.81 kB / 0.5713 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.3387, allocations: 414.3 kB / 0.5717 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3391, allocations: 0.6965 MB / 0.5724 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000289/0.3394, allocations: 96.88 kB / 0.5724 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.3396, allocations: 51.34 kB / 0.5725 GB, free: 8.918 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3396, allocations: 0 / 0.5725 GB, free: 8.918 MB / 414.1 MB Notification: Performance of Templates: time 0.02491/0.3645, allocations: 17.93 MB / 0.59 GB, free: 6.996 MB / 430.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 -s gbode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 [Calling sys.exit(0), Time elapsed: 4.9388961433433]