Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 46.93 MB / 361.6 MB, free: 4.25 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Limiters",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Limiters",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.89 kB / 0.4969 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2998, allocations: 66.04 MB / 0.5614 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003179/0.303, allocations: 1.694 MB / 0.5631 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3045, allocations: 0.679 MB / 0.5637 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3046, allocations: 3.938 kB / 0.5637 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.056e-05/0.3046, allocations: 11.81 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.3048, allocations: 23.73 kB / 0.5638 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.3054, allocations: 147.7 kB / 0.5639 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.3056, allocations: 159.7 kB / 0.5641 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3058, allocations: 34.89 kB / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.306, allocations: 67.78 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3062, allocations: 71.67 kB / 0.5642 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.3062, allocations: 12 kB / 0.5642 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.167e-05/0.3063, allocations: 16 kB / 0.5643 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.3063, allocations: 35.84 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.748e-05/0.3064, allocations: 59.72 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3067, allocations: 139.4 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3067, allocations: 4 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3067, allocations: 0 / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3067, allocations: 0 / 0.5645 GB, free: 1.266 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.0007314/0.3074, allocations: 389.6 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3074, allocations: 12.02 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.571e-05/0.3075, allocations: 4.188 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.3075, allocations: 42.75 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.3077, allocations: 24.83 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.308, allocations: 164 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.308, allocations: 4.375 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.308, allocations: 8.375 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.3085, allocations: 180 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3085, allocations: 0 / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3085, allocations: 8 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3085, allocations: 0 / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.3089, allocations: 123.9 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.3099, allocations: 423.5 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/0.3105, allocations: 190.3 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3108, allocations: 76.8 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3108, allocations: 0 / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3108, allocations: 34.56 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.3108, allocations: 0 / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001566/0.3124, allocations: 0.5048 MB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.3125, allocations: 106.8 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3126, allocations: 155.3 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.3127, allocations: 33.7 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.3127, allocations: 104.1 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.3128, allocations: 35.84 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.3128, allocations: 29.7 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.313, allocations: 322.8 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.3132, allocations: 68.8 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.3135, allocations: 98.5 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.3139, allocations: 144.7 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3139, allocations: 0 / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005135/0.3144, allocations: 185.5 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3144, allocations: 8 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3144, allocations: 8 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3145, allocations: 3.938 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.3147, allocations: 35.97 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3147, allocations: 4.531 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3148, allocations: 19.97 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3148, allocations: 4 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001735/0.315, allocations: 128.1 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001232/0.3151, allocations: 58.48 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001989/0.3153, allocations: 80.75 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.41e-07/0.3153, allocations: 0 / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002681/0.3156, allocations: 125.5 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/0.3156, allocations: 4 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3156, allocations: 4 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-06/0.3156, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.3157, allocations: 27.91 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-06/0.3157, allocations: 0 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.3158, allocations: 15.98 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3158, allocations: 4 kB / 0.5683 GB, free: 13.05 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.0001205/0.3159, allocations: 188.2 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.316, allocations: 15.91 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.316, allocations: 17.34 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.316, allocations: 3.938 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.316, allocations: 0 / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.316, allocations: 3.984 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009548/0.317, allocations: 490.2 kB / 0.569 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.317, allocations: 0 / 0.569 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.3172, allocations: 43.95 kB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3172, allocations: 288 / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3172, allocations: 4.031 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3172, allocations: 0 / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3172, allocations: 7.938 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.318, allocations: 360 kB / 0.5694 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.318, allocations: 11.97 kB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.3181, allocations: 8 kB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.3183, allocations: 40.02 kB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.3184, allocations: 7.984 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3184, allocations: 4 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.746e-05/0.3185, allocations: 121.8 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3185, allocations: 0 / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.3188, allocations: 35.94 kB / 0.5696 GB, free: 11.63 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.001115/0.3199, allocations: 0.8927 MB / 0.5705 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006275/0.3206, allocations: 187.8 kB / 0.5707 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3206, allocations: 0 / 0.5707 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.3208, allocations: 79.86 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3212, allocations: 38.7 kB / 0.5708 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.3241, allocations: 1.939 MB / 0.5727 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3244, allocations: 0.7085 MB / 0.5734 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3245, allocations: 20.95 kB / 0.5734 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.879e-05/0.3246, allocations: 39.42 kB / 0.5734 GB, free: 7.598 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3246, allocations: 0 / 0.5734 GB, free: 7.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3492, allocations: 4.074 MB / 0.5774 GB, free: 3.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.89, allocations: 14.39 kB / 0.5774 GB, free: 3.668 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.80040316504892] 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'] 12.051935447962023 12.069953682 11.759830730000001 Calling exit ...