Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.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.001276/0.001276, 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.001506/0.001506, allocations: 211.9 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2288/0.2288, allocations: 46.92 MB / 361.6 MB, free: 4.195 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.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",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.002397/0.002397, allocations: 87.84 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3322, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002947/0.3351, allocations: 1.702 MB / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3364, allocations: 0.6673 MB / 0.5638 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.3365, allocations: 0 / 0.5638 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.3365, allocations: 23.69 kB / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.972e-05/0.3366, allocations: 19.8 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.3371, allocations: 143.7 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.3373, allocations: 155.6 kB / 0.5641 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3374, allocations: 43.03 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.3376, allocations: 71.77 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3377, allocations: 63.69 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.3377, allocations: 20 kB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.128e-05/0.3378, allocations: 16 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.3378, allocations: 35.89 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.3379, allocations: 55.73 kB / 0.5644 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.3381, allocations: 143.4 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3381, allocations: 0 / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3381, allocations: 0 / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3381, allocations: 0 / 0.5646 GB, free: 1.133 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000694/0.3388, allocations: 393.6 kB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3389, allocations: 8.031 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.3389, allocations: 38.75 kB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.3391, allocations: 24.83 kB / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.3394, allocations: 162.3 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3394, allocations: 8.375 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.3394, allocations: 12.38 kB / 0.5652 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.3398, allocations: 178.5 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3398, allocations: 0 / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.3398, allocations: 4 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3398, allocations: 4 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.3402, allocations: 119.8 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.3411, allocations: 431.4 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.3416, allocations: 186.5 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.3418, allocations: 72.8 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3419, allocations: 0 / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3419, allocations: 42.56 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.3419, allocations: 0 / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0014/0.3433, allocations: 0.4929 MB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.3434, allocations: 114.9 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.3436, allocations: 163.2 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3436, allocations: 25.7 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.3437, allocations: 108.1 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.3437, allocations: 31.7 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.3438, allocations: 29.7 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3439, allocations: 322.8 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.3441, allocations: 76.8 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.3444, allocations: 102.4 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.3448, allocations: 136.8 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3448, allocations: 3.938 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004904/0.3453, allocations: 189.5 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3453, allocations: 4 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3453, allocations: 0 / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.3453, allocations: 3.938 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.3455, allocations: 35.97 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3455, allocations: 0 / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.3457, allocations: 27.97 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3457, allocations: 4 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001566/0.3458, allocations: 120.1 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000124/0.3459, allocations: 62.7 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001814/0.3461, allocations: 76.84 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.3461, allocations: 0 / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002801/0.3464, allocations: 121.5 kB / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.3464, allocations: 8 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.3464, allocations: 4 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.3464, allocations: 0 / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.3465, allocations: 23.97 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3465, allocations: 3.938 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.3466, allocations: 23.98 kB / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3466, allocations: 3.938 kB / 0.5684 GB, free: 12.92 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 (10): * Single equations (assignments): 10 * 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.0001282/0.3468, allocations: 181.1 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.3468, allocations: 19.91 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.3468, allocations: 9.406 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3469, allocations: 7.938 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.3469, allocations: 3.984 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3469, allocations: 4 kB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009228/0.3478, allocations: 486.2 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3478, allocations: 4.031 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.348, allocations: 35.95 kB / 0.5691 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.348, allocations: 0 / 0.5691 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.348, allocations: 8 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.348, allocations: 0 / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.348, allocations: 3.938 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.3488, allocations: 364.2 kB / 0.5695 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.3488, allocations: 15.97 kB / 0.5695 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3488, allocations: 4 kB / 0.5695 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3491, allocations: 39.95 kB / 0.5695 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.3491, allocations: 7.984 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3491, allocations: 8 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.3492, allocations: 117.6 kB / 0.5697 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3492, allocations: 4 kB / 0.5697 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.3496, allocations: 36 kB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001077/0.3506, allocations: 0.8849 MB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005799/0.3512, allocations: 187.8 kB / 0.5708 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3512, allocations: 0 / 0.5708 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.3514, allocations: 79.86 kB / 0.5708 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3518, allocations: 32.83 kB / 0.5709 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.3547, allocations: 1.942 MB / 0.5728 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3551, allocations: 0.7085 MB / 0.5735 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.3552, allocations: 24.94 kB / 0.5735 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.058e-05/0.3552, allocations: 47.36 kB / 0.5735 GB, free: 7.465 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3552, allocations: 0 / 0.5735 GB, free: 7.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3833, allocations: 3.927 MB / 0.5774 GB, free: 3.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.545, allocations: 14.75 kB / 0.5774 GB, free: 3.605 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.309093893039972] Failed to read output from testmodel.py, exit status != 0: ['time', 'slewRateLimiter.y', 'limiter.y', 'variableLimiter.y', 'deadZone.y', 'sine.y', 'constPos.y', 'constNeg.y', 'idealDerivative.y'] 8.616484534926713 8.638885516 8.296598537 Calling exit ...