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.001476/0.001476, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001578/0.001578, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.333/1.333, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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.2066/0.2066, allocations: 46.94 MB / 361.5 MB, free: 4.176 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.002183/0.002183, allocations: 83.86 kB / 0.4974 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2806, allocations: 66.07 MB / 0.5619 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001657/0.2823, allocations: 0.5459 MB / 0.5625 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.283, allocations: 370.7 kB / 0.5628 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.283, allocations: 0 / 0.5628 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.283, allocations: 3.938 kB / 0.5628 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.744e-05/0.283, allocations: 3.938 kB / 0.5628 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.2834, allocations: 111.6 kB / 0.5629 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.2834, allocations: 19.92 kB / 0.563 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.2835, allocations: 7.797 kB / 0.563 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.2835, allocations: 15.92 kB / 0.563 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.2835, allocations: 23.92 kB / 0.563 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.2836, allocations: 0 / 0.563 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.2838, allocations: 119.9 kB / 0.5631 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.2838, allocations: 7.984 kB / 0.5631 GB, free: 3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.2838, allocations: 15.88 kB / 0.5631 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.284, allocations: 94.27 kB / 0.5632 GB, free: 2.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.284, allocations: 0 / 0.5632 GB, free: 2.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.284, allocations: 0 / 0.5632 GB, free: 2.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.284, allocations: 0 / 0.5632 GB, free: 2.898 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.0003925/0.2844, allocations: 298 kB / 0.5635 GB, free: 2.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2844, allocations: 8.031 kB / 0.5635 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.2844, allocations: 4.938 kB / 0.5635 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.802e-05/0.2845, allocations: 114.4 kB / 0.5636 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.2846, allocations: 4.375 kB / 0.5636 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.2846, allocations: 4.375 kB / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2847, allocations: 58.17 kB / 0.5637 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2847, allocations: 192 / 0.5637 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2847, allocations: 7.938 kB / 0.5637 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2847, allocations: 0 / 0.5637 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.2848, allocations: 35.86 kB / 0.5637 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.285, allocations: 144.7 kB / 0.5639 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.2852, allocations: 46.56 kB / 0.5639 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.2852, allocations: 28.84 kB / 0.564 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.2854, allocations: 31.94 kB / 0.564 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.2855, allocations: 42.78 kB / 0.564 GB, free: 1.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.2855, allocations: 0 / 0.564 GB, free: 1.961 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.0368/0.3223, allocations: 2.577 MB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3223, allocations: 51.41 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.3224, allocations: 102 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3224, allocations: 29.7 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.3225, allocations: 87.88 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.3225, allocations: 67.34 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3226, allocations: 61.69 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3228, allocations: 322.8 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.3231, allocations: 167.9 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.3235, allocations: 184 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009531/0.3244, allocations: 420.6 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3244, allocations: 0 / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009714/0.3254, allocations: 467.6 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3254, allocations: 4 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3254, allocations: 4 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3254, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.3258, allocations: 67.94 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3258, allocations: 0 / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.326, allocations: 19.98 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.326, allocations: 19.98 kB / 0.5685 GB, free: 13.27 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.0001173/0.3261, allocations: 123 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.3262, allocations: 15.94 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.3273, allocations: 0.533 MB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3273, allocations: 0 / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3273, allocations: 4 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3273, allocations: 0 / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.3294, allocations: 0.861 MB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3294, allocations: 4 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.3297, allocations: 63.94 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3297, allocations: 4 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.3297, allocations: 19.98 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.3297, allocations: 3.938 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3297, allocations: 4 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.3306, allocations: 471.8 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.3306, allocations: 7.953 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.3306, allocations: 8 kB / 0.5706 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3308, allocations: 19.97 kB / 0.5706 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.3308, allocations: 15.92 kB / 0.5706 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3309, allocations: 31.92 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.252e-05/0.3309, allocations: 83.28 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3309, allocations: 0 / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007834/0.3317, allocations: 315.6 kB / 0.571 GB, free: 10.58 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.001188/0.3329, allocations: 238.6 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007685/0.3336, allocations: 327.7 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3336, allocations: 0 / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.334, allocations: 143.8 kB / 0.5717 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3342, allocations: 8.375 kB / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3354, allocations: 451.1 kB / 0.5721 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3357, allocations: 0.6926 MB / 0.5728 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.3359, allocations: 51.39 kB / 0.5729 GB, free: 8.609 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3359, allocations: 0 / 0.5729 GB, free: 8.609 MB / 414.1 MB Notification: Performance of Templates: time 0.009945/0.3459, allocations: 6.532 MB / 0.5793 GB, free: 2.121 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.1.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 [Calling sys.exit(0), Time elapsed: 6.859265835955739]