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.001683/0.001683, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00206/0.00206, allocations: 216.9 kB / 24.53 MB, free: 4.012 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: 8.012 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.2158/0.2158, allocations: 46.92 MB / 361.6 MB, free: 4.191 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.002253/0.002253, allocations: 79.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2867, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002826/0.2895, allocations: 1.698 MB / 0.5632 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2906, allocations: 0.6673 MB / 0.5638 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.2907, allocations: 7.938 kB / 0.5638 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.2907, allocations: 15.8 kB / 0.5638 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2908, allocations: 19.8 kB / 0.5638 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.2913, allocations: 158.8 kB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.2915, allocations: 155.7 kB / 0.5641 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2916, allocations: 30.91 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2918, allocations: 75.75 kB / 0.5642 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2919, allocations: 63.7 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.2919, allocations: 12 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.292, allocations: 20 kB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.292, allocations: 35.89 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.2921, allocations: 55.72 kB / 0.5644 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.2923, allocations: 139.4 kB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2923, allocations: 0 / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2923, allocations: 4 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2923, allocations: 0 / 0.5646 GB, free: 1.148 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.0006567/0.2929, allocations: 389.6 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.293, allocations: 12.03 kB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.364e-05/0.293, allocations: 192 / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.293, allocations: 38.75 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.2932, allocations: 28.83 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.2934, allocations: 174.2 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2934, allocations: 4.375 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.2935, allocations: 8.375 kB / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.2939, allocations: 186.1 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2939, allocations: 0 / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.2939, allocations: 0 / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2939, allocations: 4 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.2943, allocations: 123.9 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.2951, allocations: 427.4 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.2957, allocations: 186.5 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.2959, allocations: 72.8 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2959, allocations: 4 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.296, allocations: 42.48 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.296, allocations: 0 / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001408/0.2974, allocations: 0.4968 MB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.2974, allocations: 106.8 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2976, allocations: 151.3 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.2976, allocations: 33.7 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.2977, allocations: 104.1 kB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.2977, allocations: 39.69 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.2978, allocations: 25.7 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2979, allocations: 326.8 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.2981, allocations: 76.73 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.2984, allocations: 90.52 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.2988, allocations: 148.9 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2988, allocations: 0 / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004868/0.2993, allocations: 185.5 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2993, allocations: 4 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2993, allocations: 4 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2993, allocations: 3.938 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.2995, allocations: 43.89 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2995, allocations: 0 / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.2996, allocations: 19.97 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2996, allocations: 4 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001505/0.2998, allocations: 121.4 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001199/0.2999, allocations: 58.53 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001771/0.3001, allocations: 72.83 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.3001, allocations: 3.938 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002579/0.3003, allocations: 125.8 kB / 0.5683 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.3003, allocations: 8 kB / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-06/0.3003, allocations: 0 / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-06/0.3003, allocations: 0 / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.3004, allocations: 31.86 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-06/0.3004, allocations: 0.5469 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.3005, allocations: 11.98 kB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3006, allocations: 4 kB / 0.5684 GB, free: 12.94 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.000117/0.3007, allocations: 188.3 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.3007, allocations: 11.91 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.3008, allocations: 25.33 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3008, allocations: 4 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3008, allocations: 0 / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3008, allocations: 0 / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.3016, allocations: 498.1 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3016, allocations: 4 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.3018, allocations: 35.91 kB / 0.5691 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3018, allocations: 0 / 0.5691 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3018, allocations: 8.031 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3018, allocations: 4 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3018, allocations: 0 / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007984/0.3026, allocations: 367.9 kB / 0.5695 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.3026, allocations: 11.98 kB / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3027, allocations: 0 / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.3029, allocations: 40.02 kB / 0.5695 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.303, allocations: 11.98 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.303, allocations: 3.984 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3031, allocations: 120.9 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3031, allocations: 0 / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.3034, allocations: 36 kB / 0.5697 GB, free: 11.51 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.001117/0.3045, allocations: 0.8889 MB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006259/0.3051, allocations: 199.8 kB / 0.5708 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3051, allocations: 0 / 0.5708 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.3054, allocations: 67.94 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.0003943/0.3058, allocations: 35.34 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.002933/0.3087, allocations: 1.946 MB / 0.5728 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.309, allocations: 0.7124 MB / 0.5735 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.325e-05/0.3091, allocations: 16.97 kB / 0.5735 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.3092, allocations: 39.42 kB / 0.5735 GB, free: 7.477 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3092, allocations: 0 / 0.5735 GB, free: 7.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.334, allocations: 4.065 MB / 0.5775 GB, free: 3.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.73, allocations: 14.88 kB / 0.5775 GB, free: 3.52 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.43484930001432] 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'] 10.884416359011084 10.89922401 10.604069015 Calling exit ...