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.001563/0.001563, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001428/0.001428, allocations: 204.7 kB / 25.13 MB, free: 3.578 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.402/1.402, allocations: 230.4 MB / 258.7 MB, free: 8.062 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.2412/0.2412, allocations: 46.92 MB / 362 MB, free: 4.266 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.002351/0.002351, allocations: 83.86 kB / 0.4978 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.311, allocations: 66.07 MB / 0.5623 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001671/0.3127, allocations: 0.5344 MB / 0.5628 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000736/0.3134, allocations: 370.7 kB / 0.5632 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.3135, allocations: 0 / 0.5632 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.3135, allocations: 7.938 kB / 0.5632 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.073e-05/0.3135, allocations: 0 / 0.5632 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.3139, allocations: 103.7 kB / 0.5633 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.314, allocations: 35.84 kB / 0.5633 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.3141, allocations: 3.797 kB / 0.5633 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.3141, allocations: 15.92 kB / 0.5634 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.3141, allocations: 15.92 kB / 0.5634 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3142, allocations: 0 / 0.5634 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.3144, allocations: 123.9 kB / 0.5635 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.3144, allocations: 7.984 kB / 0.5635 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.3144, allocations: 15.88 kB / 0.5635 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.3146, allocations: 98.27 kB / 0.5636 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3147, allocations: 0 / 0.5636 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3147, allocations: 0 / 0.5636 GB, free: 2.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3147, allocations: 4 kB / 0.5636 GB, free: 2.969 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.0005009/0.3152, allocations: 286 kB / 0.5639 GB, free: 2.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3152, allocations: 12.03 kB / 0.5639 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.3152, allocations: 4.938 kB / 0.5639 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3154, allocations: 114.4 kB / 0.564 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3154, allocations: 4.375 kB / 0.564 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3154, allocations: 4.375 kB / 0.564 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3155, allocations: 54.23 kB / 0.5641 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3156, allocations: 8.125 kB / 0.5641 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3156, allocations: 3.938 kB / 0.5641 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3156, allocations: 0 / 0.5641 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.3156, allocations: 31.92 kB / 0.5641 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.3158, allocations: 152.6 kB / 0.5643 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.3161, allocations: 50.55 kB / 0.5643 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.3161, allocations: 24.84 kB / 0.5643 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.3164, allocations: 31.95 kB / 0.5644 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3164, allocations: 30.84 kB / 0.5644 GB, free: 2.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3164, allocations: 4 kB / 0.5644 GB, free: 2.043 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.03972/0.3561, allocations: 2.579 MB / 0.5669 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3562, allocations: 55.34 kB / 0.567 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.3563, allocations: 109.8 kB / 0.5671 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.3563, allocations: 29.7 kB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.3563, allocations: 83.89 kB / 0.5672 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.402e-05/0.3564, allocations: 67.42 kB / 0.5672 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.3565, allocations: 57.69 kB / 0.5673 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3567, allocations: 330.8 kB / 0.5676 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.3571, allocations: 171.9 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3575, allocations: 174.3 kB / 0.5679 GB, free: 14.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.3586, allocations: 424.6 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3586, allocations: 0 / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001075/0.3597, allocations: 463.6 kB / 0.5688 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3597, allocations: 8 kB / 0.5688 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3597, allocations: 0 / 0.5688 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3597, allocations: 0 / 0.5688 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.3601, allocations: 71.94 kB / 0.5689 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3601, allocations: 0 / 0.5689 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.3603, allocations: 19.97 kB / 0.5689 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.3604, allocations: 12 kB / 0.5689 GB, free: 13.35 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.0001474/0.3605, allocations: 133.7 kB / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3605, allocations: 7.953 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3619, allocations: 0.5291 MB / 0.5695 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3619, allocations: 4 kB / 0.5696 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3619, allocations: 4 kB / 0.5696 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3619, allocations: 3.984 kB / 0.5696 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.3641, allocations: 0.8531 MB / 0.5704 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3641, allocations: 12.12 kB / 0.5704 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.3644, allocations: 63.94 kB / 0.5705 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3644, allocations: 4 kB / 0.5705 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.3644, allocations: 15.98 kB / 0.5705 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.3644, allocations: 4 kB / 0.5705 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.3644, allocations: 7.938 kB / 0.5705 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.3654, allocations: 463.5 kB / 0.5709 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.3654, allocations: 8.203 kB / 0.5709 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.3654, allocations: 8 kB / 0.571 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3656, allocations: 23.97 kB / 0.571 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.3657, allocations: 15.92 kB / 0.571 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.3657, allocations: 19.98 kB / 0.571 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.11e-05/0.3658, allocations: 87.28 kB / 0.5711 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3658, allocations: 0 / 0.5711 GB, free: 10.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009/0.3667, allocations: 315.9 kB / 0.5714 GB, free: 10.66 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.001267/0.3679, allocations: 238.7 kB / 0.5716 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008344/0.3688, allocations: 327.6 kB / 0.5719 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.3688, allocations: 7.938 kB / 0.5719 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.3691, allocations: 139.8 kB / 0.5721 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.3694, allocations: 15.98 kB / 0.5721 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3707, allocations: 410.6 kB / 0.5725 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.371, allocations: 0.6964 MB / 0.5732 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.3713, allocations: 92.98 kB / 0.5732 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.3715, allocations: 51.39 kB / 0.5733 GB, free: 8.625 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3715, allocations: 0 / 0.5733 GB, free: 8.625 MB / 414.1 MB Notification: Performance of Templates: time 0.02518/0.3967, allocations: 17.96 MB / 0.5908 GB, free: 6.68 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.947068247944117]