Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001233/0.001233, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001364/0.001364, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.356/1.356, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2133/0.2133, allocations: 46.94 MB / 361.6 MB, free: 3.949 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: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.88 kB / 0.4969 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2881, allocations: 66.08 MB / 0.5614 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002889/0.291, allocations: 1.655 MB / 0.563 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2921, allocations: 0.6284 MB / 0.5637 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.2922, allocations: 4 kB / 0.5637 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.2923, allocations: 11.81 kB / 0.5637 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.21e-05/0.2923, allocations: 15.8 kB / 0.5637 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.2928, allocations: 155 kB / 0.5638 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.293, allocations: 151.6 kB / 0.564 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2931, allocations: 34.84 kB / 0.564 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.2933, allocations: 83.75 kB / 0.5641 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2934, allocations: 67.73 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.2935, allocations: 12 kB / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.2935, allocations: 16 kB / 0.5642 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.2935, allocations: 35.84 kB / 0.5642 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.2936, allocations: 47.78 kB / 0.5643 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.2938, allocations: 147.4 kB / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2938, allocations: 0 / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2938, allocations: 0 / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2938, allocations: 4 kB / 0.5644 GB, free: 1.004 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.0006598/0.2945, allocations: 381.7 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2945, allocations: 12.03 kB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.66e-05/0.2945, allocations: 4.188 kB / 0.5648 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.2946, allocations: 42.73 kB / 0.5648 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.2948, allocations: 28.83 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.2951, allocations: 158.3 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2951, allocations: 8.375 kB / 0.565 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.2951, allocations: 12.38 kB / 0.565 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.2956, allocations: 326.3 kB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2956, allocations: 3.984 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.2957, allocations: 8 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2957, allocations: 0 / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.296, allocations: 131.7 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008231/0.2969, allocations: 403.5 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.2974, allocations: 182.5 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.2976, allocations: 68.8 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2976, allocations: 8 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.2977, allocations: 34.5 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2977, allocations: 0 / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001384/0.2991, allocations: 0.5049 MB / 0.5666 GB, free: 14.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.2991, allocations: 106.8 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.2993, allocations: 155.3 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2993, allocations: 33.7 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.2994, allocations: 104.1 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.2994, allocations: 31.7 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/0.2995, allocations: 25.7 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2996, allocations: 322.8 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.2998, allocations: 80.8 kB / 0.5674 GB, free: 13.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.3001, allocations: 145.8 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.3005, allocations: 136.8 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3005, allocations: 0 / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004788/0.301, allocations: 193.7 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.301, allocations: 6.125 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.301, allocations: 3.938 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.301, allocations: 7.938 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.3012, allocations: 31.97 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3012, allocations: 240 / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.3013, allocations: 23.97 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3013, allocations: 11.92 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001591/0.3015, allocations: 125.4 kB / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001384/0.3016, allocations: 106 kB / 0.5682 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001835/0.3018, allocations: 76.81 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.3018, allocations: 0 / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002496/0.3021, allocations: 125.5 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/0.3021, allocations: 4 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.3021, allocations: 0 / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.3021, allocations: 7.984 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3022, allocations: 31.86 kB / 0.5684 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-06/0.3022, allocations: 0 / 0.5684 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.3023, allocations: 11.98 kB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3023, allocations: 4 kB / 0.5685 GB, free: 12.51 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.0001225/0.3024, allocations: 180.3 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.3025, allocations: 23.91 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.3025, allocations: 21.62 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3025, allocations: 3.984 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.3025, allocations: 0 / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3025, allocations: 3.938 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.3034, allocations: 466.2 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3034, allocations: 0 / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3036, allocations: 39.95 kB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3036, allocations: 0 / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3036, allocations: 4 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3036, allocations: 3.938 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3036, allocations: 4 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.3044, allocations: 360 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.3044, allocations: 11.97 kB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.3044, allocations: 8.062 kB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.3047, allocations: 35.95 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.3047, allocations: 11.97 kB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3047, allocations: 8 kB / 0.5696 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.3048, allocations: 116.9 kB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3048, allocations: 0 / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.3051, allocations: 40 kB / 0.5697 GB, free: 11.11 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.001079/0.3062, allocations: 0.8849 MB / 0.5706 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005633/0.3068, allocations: 188.1 kB / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3068, allocations: 192 / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.307, allocations: 87.92 kB / 0.5709 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3074, allocations: 31.92 kB / 0.5709 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.3101, allocations: 1.947 MB / 0.5728 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.511e-05/0.3102, allocations: 89.69 kB / 0.5729 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.42e-05/0.3103, allocations: 20.97 kB / 0.5729 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.3104, allocations: 39.42 kB / 0.5729 GB, free: 7.695 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3104, allocations: 0 / 0.5729 GB, free: 7.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.3354, allocations: 4.301 MB / 0.5771 GB, free: 3.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.97, allocations: 11.09 kB / 0.5772 GB, free: 3.516 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.61596887500491] 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'] 11.12777588807512 11.143003687 10.846286841 Calling exit ...