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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 211.2 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.2 MB / 256.7 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.89 MB / 359.9 MB, free: 4.996 MB / 286.1 MB [Timeout remaining time 90] 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.002287/0.002287, allocations: 75.86 kB / 0.495 GB, free: 8.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3125, allocations: 65.98 MB / 0.5594 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001789/0.3143, allocations: 0.5422 MB / 0.5599 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007095/0.315, allocations: 368.5 kB / 0.5603 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.315, allocations: 4 kB / 0.5603 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.315, allocations: 0 / 0.5603 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.148e-05/0.3151, allocations: 3.938 kB / 0.5603 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.3155, allocations: 111.6 kB / 0.5604 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.802e-05/0.3155, allocations: 23.92 kB / 0.5604 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.3156, allocations: 7.797 kB / 0.5604 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.362e-05/0.3156, allocations: 11.98 kB / 0.5604 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.3157, allocations: 23.84 kB / 0.5605 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3157, allocations: 4 kB / 0.5605 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.3159, allocations: 115.9 kB / 0.5606 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.3159, allocations: 7.984 kB / 0.5606 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.3159, allocations: 19.86 kB / 0.5606 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.3161, allocations: 94.28 kB / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3161, allocations: 0 / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3161, allocations: 0 / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3161, allocations: 3.938 kB / 0.5607 GB, free: 3.871 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.0004541/0.3166, allocations: 367.1 kB / 0.5611 GB, free: 3.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3166, allocations: 11.97 kB / 0.5611 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3166, allocations: 4.938 kB / 0.5611 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3168, allocations: 172.3 kB / 0.5612 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3168, allocations: 4.375 kB / 0.5612 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3168, allocations: 4.375 kB / 0.5612 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.317, allocations: 50.25 kB / 0.5613 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.317, allocations: 8.125 kB / 0.5613 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.317, allocations: 3.938 kB / 0.5613 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.317, allocations: 0 / 0.5613 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/0.3171, allocations: 31.97 kB / 0.5613 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.3173, allocations: 173.6 kB / 0.5615 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3175, allocations: 54.58 kB / 0.5615 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.3175, allocations: 24.8 kB / 0.5616 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.3178, allocations: 109 kB / 0.5617 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3178, allocations: 34.56 kB / 0.5617 GB, free: 2.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3178, allocations: 4 kB / 0.5617 GB, free: 2.652 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.04289/0.3607, allocations: 2.562 MB / 0.5642 GB, free: 56 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.3608, allocations: 55.41 kB / 0.5643 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3609, allocations: 109.8 kB / 0.5644 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.361, allocations: 29.7 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.361, allocations: 83.89 kB / 0.5645 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/0.3611, allocations: 67.42 kB / 0.5645 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3613, allocations: 61.67 kB / 0.5646 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3614, allocations: 326.8 kB / 0.5649 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.3618, allocations: 167.9 kB / 0.5651 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.3622, allocations: 175.9 kB / 0.5652 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.3632, allocations: 423.3 kB / 0.5656 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3632, allocations: 0 / 0.5656 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001069/0.3643, allocations: 461.4 kB / 0.5661 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3643, allocations: 7.938 kB / 0.5661 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3643, allocations: 4 kB / 0.5661 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3644, allocations: 0 / 0.5661 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.3648, allocations: 67.94 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3648, allocations: 7.922 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.365, allocations: 15.98 kB / 0.5662 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.365, allocations: 23.98 kB / 0.5662 GB, free: 13.96 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.0001368/0.3652, allocations: 117.8 kB / 0.5663 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3652, allocations: 7.953 kB / 0.5663 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.3665, allocations: 0.5432 MB / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3665, allocations: 0 / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3665, allocations: 8 kB / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3666, allocations: 3.984 kB / 0.5669 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.3688, allocations: 0.8739 MB / 0.5677 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3688, allocations: 8.031 kB / 0.5677 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.3691, allocations: 68.34 kB / 0.5678 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3691, allocations: 4 kB / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.3691, allocations: 19.98 kB / 0.5678 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3691, allocations: 0 / 0.5678 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.3691, allocations: 4.25 kB / 0.5678 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009694/0.3701, allocations: 476.1 kB / 0.5683 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.3702, allocations: 85.06 kB / 0.5684 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3702, allocations: 12 kB / 0.5684 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.3704, allocations: 19.97 kB / 0.5684 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3705, allocations: 11.98 kB / 0.5684 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.3705, allocations: 16 kB / 0.5684 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.854e-05/0.3705, allocations: 87.27 kB / 0.5685 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3705, allocations: 0 / 0.5685 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009539/0.3715, allocations: 315.6 kB / 0.5688 GB, free: 11.16 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.001305/0.3728, allocations: 242.6 kB / 0.569 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008718/0.3737, allocations: 327.7 kB / 0.5693 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3737, allocations: 0 / 0.5693 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.374, allocations: 146.4 kB / 0.5695 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3743, allocations: 15.09 kB / 0.5695 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3757, allocations: 444.3 kB / 0.5699 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.376, allocations: 0.6926 MB / 0.5706 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.3762, allocations: 51.41 kB / 0.5706 GB, free: 9.18 MB / 414.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3762, allocations: 0 / 0.5706 GB, free: 9.18 MB / 414.1 MB Notification: Performance of Templates: time 0.01185/0.388, allocations: 6.548 MB / 0.577 GB, free: 2.68 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/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