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.001318/0.001318, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001606/0.001606, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2455/0.2455, allocations: 46.95 MB / 361.6 MB, free: 4.043 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.002033/0.002033, allocations: 59.89 kB / 0.4969 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 66.04 MB / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003282/0.3315, allocations: 1.655 MB / 0.563 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.333, allocations: 0.6206 MB / 0.5636 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3331, allocations: 7.938 kB / 0.5636 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.856e-05/0.3332, allocations: 11.88 kB / 0.5636 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3333, allocations: 19.8 kB / 0.5636 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.3338, allocations: 151.4 kB / 0.5638 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3341, allocations: 155.7 kB / 0.5639 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3343, allocations: 30.91 kB / 0.5639 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.3345, allocations: 79.69 kB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.3346, allocations: 67.73 kB / 0.5641 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.3347, allocations: 16 kB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.449e-05/0.3347, allocations: 20 kB / 0.5641 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.3348, allocations: 35.8 kB / 0.5641 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.3348, allocations: 51.77 kB / 0.5642 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3351, allocations: 131.5 kB / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3351, allocations: 7.984 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3351, allocations: 0 / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.3351, allocations: 0 / 0.5643 GB, free: 1.191 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.0007692/0.3358, allocations: 389.7 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3359, allocations: 11.97 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.677e-05/0.3359, allocations: 4.188 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.336, allocations: 38.73 kB / 0.5647 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.3361, allocations: 24.84 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.3365, allocations: 168 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3365, allocations: 384 / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.3365, allocations: 16.38 kB / 0.5649 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.3371, allocations: 330.2 kB / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3371, allocations: 0 / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.3371, allocations: 4 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3371, allocations: 0 / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.3376, allocations: 131.9 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.3384, allocations: 399.4 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.339, allocations: 194.4 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3392, allocations: 76.8 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3393, allocations: 0 / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3393, allocations: 34.56 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.3393, allocations: 3.938 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001513/0.3408, allocations: 0.4968 MB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.3409, allocations: 110.8 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3411, allocations: 159.3 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.3411, allocations: 25.7 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.3412, allocations: 104.1 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.3412, allocations: 35.69 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.3413, allocations: 29.7 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3414, allocations: 322.8 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.3416, allocations: 76.8 kB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.3419, allocations: 145.9 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.3424, allocations: 140.7 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3424, allocations: 0 / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004987/0.3429, allocations: 177.8 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3429, allocations: 14.44 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3429, allocations: 8.078 kB / 0.5678 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3429, allocations: 7.875 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.3431, allocations: 31.97 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3431, allocations: 0 / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.3432, allocations: 27.97 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3432, allocations: 0 / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001783/0.3434, allocations: 120.1 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001605/0.3436, allocations: 114 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001875/0.3438, allocations: 76.75 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.3438, allocations: 0 / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003196/0.3441, allocations: 121.5 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.3441, allocations: 4 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.3441, allocations: 0 / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/0.3441, allocations: 11.97 kB / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3442, allocations: 23.92 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3442, allocations: 3.984 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.943e-05/0.3443, allocations: 11.98 kB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3443, allocations: 8 kB / 0.5684 GB, free: 12.69 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.0001392/0.3445, allocations: 184.2 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.3445, allocations: 11.91 kB / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.123e-05/0.3446, allocations: 21.34 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3446, allocations: 8.266 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3446, allocations: 0 / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3446, allocations: 7.984 kB / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009538/0.3456, allocations: 478.1 kB / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3456, allocations: 0 / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.3457, allocations: 35.97 kB / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3457, allocations: 0 / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3458, allocations: 3.984 kB / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3458, allocations: 4 kB / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3458, allocations: 0 / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/0.3466, allocations: 364 kB / 0.5694 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.3466, allocations: 7.984 kB / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.3466, allocations: 3.984 kB / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.3469, allocations: 44.02 kB / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.3469, allocations: 7.984 kB / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.347, allocations: 4 kB / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.3471, allocations: 121.8 kB / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3471, allocations: 0 / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.3474, allocations: 32 kB / 0.5697 GB, free: 11.3 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.001128/0.3486, allocations: 0.8926 MB / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006181/0.3492, allocations: 192.2 kB / 0.5707 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3492, allocations: 0 / 0.5707 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.3494, allocations: 75.94 kB / 0.5708 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.3498, allocations: 36.88 kB / 0.5708 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.3527, allocations: 1.951 MB / 0.5727 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.08e-05/0.3528, allocations: 93.62 kB / 0.5728 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.939e-05/0.3529, allocations: 20.95 kB / 0.5728 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.353, allocations: 43.42 kB / 0.5729 GB, free: 7.867 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.353, allocations: 0 / 0.5729 GB, free: 7.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.3792, allocations: 4.297 MB / 0.5771 GB, free: 3.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.76, allocations: 7.672 kB / 0.5771 GB, free: 3.742 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.732360524008982] 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.925736694945954 11.948105533 11.608860936 Calling exit ...