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.001749/0.001749, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002131/0.002131, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.428/1.428, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2188/0.2188, allocations: 46.93 MB / 361.6 MB, free: 4.191 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) [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.003274/0.003274, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3347, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001775/0.3365, allocations: 0.5341 MB / 0.562 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000783/0.3373, allocations: 374.7 kB / 0.5624 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.3373, allocations: 0 / 0.5624 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.3373, allocations: 3.938 kB / 0.5624 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.307e-05/0.3374, allocations: 4 kB / 0.5624 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.3378, allocations: 107.4 kB / 0.5625 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.3379, allocations: 31.86 kB / 0.5625 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.3379, allocations: 3.984 kB / 0.5625 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.3379, allocations: 11.94 kB / 0.5625 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.338, allocations: 23.84 kB / 0.5626 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.338, allocations: 0 / 0.5626 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.3382, allocations: 119.9 kB / 0.5627 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.3383, allocations: 12 kB / 0.5627 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.3383, allocations: 19.86 kB / 0.5627 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.3385, allocations: 89.86 kB / 0.5628 GB, free: 2.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3385, allocations: 0 / 0.5628 GB, free: 2.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3385, allocations: 4 kB / 0.5628 GB, free: 2.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3385, allocations: 0 / 0.5628 GB, free: 2.988 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.0004286/0.3389, allocations: 286 kB / 0.5631 GB, free: 2.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3389, allocations: 12.03 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.339, allocations: 34.75 kB / 0.5631 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.339, allocations: 12.92 kB / 0.5631 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3391, allocations: 114.4 kB / 0.5632 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3391, allocations: 4.375 kB / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.3392, allocations: 8.375 kB / 0.5632 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3393, allocations: 54.23 kB / 0.5633 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3393, allocations: 7.922 kB / 0.5633 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3393, allocations: 3.938 kB / 0.5633 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3393, allocations: 0 / 0.5633 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.3394, allocations: 27.98 kB / 0.5633 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.3396, allocations: 144.7 kB / 0.5635 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3398, allocations: 54.55 kB / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.3398, allocations: 20.86 kB / 0.5635 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.3401, allocations: 31.95 kB / 0.5636 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3401, allocations: 30.56 kB / 0.5636 GB, free: 2.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3401, allocations: 4.281 kB / 0.5636 GB, free: 2.02 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.04009/0.3802, allocations: 2.572 MB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.3802, allocations: 59.34 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.3803, allocations: 101.8 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.3804, allocations: 25.7 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.3804, allocations: 91.89 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/0.3805, allocations: 67.42 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3806, allocations: 53.69 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3807, allocations: 322.8 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.3811, allocations: 180.1 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.3815, allocations: 178.3 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3828, allocations: 416.7 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3828, allocations: 0 / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00105/0.3839, allocations: 467.6 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3839, allocations: 7.938 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3839, allocations: 0 / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3839, allocations: 7.984 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.3843, allocations: 63.94 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3843, allocations: 4.469 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.3845, allocations: 15.98 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.3845, allocations: 15.98 kB / 0.5681 GB, free: 13.32 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.0001306/0.3847, allocations: 129.7 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.3847, allocations: 7.953 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.386, allocations: 0.5446 MB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.386, allocations: 0 / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.386, allocations: 4 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.386, allocations: 0 / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.3881, allocations: 0.857 MB / 0.5696 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3881, allocations: 4.188 kB / 0.5696 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.3884, allocations: 67.89 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3884, allocations: 0 / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.3884, allocations: 19.98 kB / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3884, allocations: 4 kB / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3884, allocations: 3.938 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009173/0.3893, allocations: 467.5 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.3894, allocations: 7.953 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.3894, allocations: 7.984 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3896, allocations: 15.98 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3896, allocations: 23.91 kB / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.3897, allocations: 12 kB / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.3897, allocations: 91.27 kB / 0.5703 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3897, allocations: 3.938 kB / 0.5703 GB, free: 10.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000821/0.3905, allocations: 323.5 kB / 0.5706 GB, free: 10.63 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.002376/0.3929, allocations: 1.111 MB / 0.5717 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007901/0.3937, allocations: 323.7 kB / 0.572 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3937, allocations: 3.938 kB / 0.572 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.394, allocations: 140.2 kB / 0.5721 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3943, allocations: 14.34 kB / 0.5722 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.3959, allocations: 0.4993 MB / 0.5726 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3962, allocations: 0.6965 MB / 0.5733 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.3965, allocations: 92.97 kB / 0.5734 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.3967, allocations: 63.39 kB / 0.5735 GB, free: 7.562 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3967, allocations: 0 / 0.5735 GB, free: 7.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/0.4402, allocations: 19.13 MB / 0.5922 GB, free: 4.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.307, allocations: 12 kB / 0.5922 GB, free: 4.496 MB / 430.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.066610427107662] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'ydd', 'k1', 'k2', 'y2', 'y2d', 'y2dd'] 8.383294206112623 8.400711072 8.059048253 Calling exit ...