Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01424/0.01424, allocations: 1.748 MB / 21.38 MB, free: 480 kB / 14.72 MB " [Timeout remaining time 180] 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.001342/0.001342, allocations: 101.1 kB / 24.96 MB, free: 2.059 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.001738/0.001738, allocations: 208.5 kB / 28.68 MB, free: 3.348 MB / 19.63 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.423/1.423, allocations: 230.6 MB / 262.9 MB, free: 5.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.073/1.073, allocations: 130.7 MB / 450.4 MB, free: 6.434 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06502/0.06502, allocations: 20.6 MB / 0.6362 GB, free: 5.133 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.2411, allocations: 81.9 MB / 0.7162 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003572/0.2447, allocations: 2.169 MB / 0.7183 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.246, allocations: 0.6506 MB / 0.719 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.246, allocations: 4 kB / 0.719 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.2461, allocations: 11.86 kB / 0.719 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.2461, allocations: 11.81 kB / 0.719 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.2465, allocations: 99.73 kB / 0.7191 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.2467, allocations: 87.66 kB / 0.7192 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2468, allocations: 20.2 kB / 0.7192 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.2469, allocations: 35.91 kB / 0.7192 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.247, allocations: 47.86 kB / 0.7193 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.247, allocations: 8 kB / 0.7193 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.2473, allocations: 159.7 kB / 0.7194 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.2473, allocations: 15.92 kB / 0.7194 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.2474, allocations: 27.86 kB / 0.7195 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2476, allocations: 143.5 kB / 0.7196 GB, free: 15.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2476, allocations: 0 / 0.7196 GB, free: 15.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2476, allocations: 3.938 kB / 0.7196 GB, free: 15.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2476, allocations: 3.938 kB / 0.7196 GB, free: 15.62 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006514/0.2483, allocations: 353.8 kB / 0.7199 GB, free: 15.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.2483, allocations: 12.03 kB / 0.72 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.085e-05/0.2483, allocations: 192 / 0.72 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.2484, allocations: 34.75 kB / 0.72 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.2485, allocations: 20.88 kB / 0.72 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.2488, allocations: 136.5 kB / 0.7201 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2488, allocations: 8.375 kB / 0.7202 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2488, allocations: 8.359 kB / 0.7202 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.2491, allocations: 105.5 kB / 0.7203 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2491, allocations: 4 kB / 0.7203 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2492, allocations: 0 / 0.7203 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2492, allocations: 0 / 0.7203 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.2496, allocations: 111.9 kB / 0.7204 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.25, allocations: 275.7 kB / 0.7206 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.2503, allocations: 70.52 kB / 0.7207 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.2505, allocations: 64.92 kB / 0.7208 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.2505, allocations: 0 / 0.7208 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2505, allocations: 30.56 kB / 0.7208 GB, free: 14.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.2505, allocations: 0 / 0.7208 GB, free: 14.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0007711/0.2513, allocations: 209.5 kB / 0.721 GB, free: 14.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.2513, allocations: 51.41 kB / 0.721 GB, free: 14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2515, allocations: 137.6 kB / 0.7212 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.2515, allocations: 25.7 kB / 0.7212 GB, free: 13.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.2515, allocations: 96.12 kB / 0.7213 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.2516, allocations: 19.8 kB / 0.7213 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.2516, allocations: 21.7 kB / 0.7213 GB, free: 13.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2518, allocations: 322.8 kB / 0.7216 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.252, allocations: 59.88 kB / 0.7217 GB, free: 13.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.2522, allocations: 55.94 kB / 0.7217 GB, free: 13.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.2526, allocations: 112.8 kB / 0.7219 GB, free: 13.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2526, allocations: 0 / 0.7219 GB, free: 13.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004676/0.2531, allocations: 157.5 kB / 0.722 GB, free: 12.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2531, allocations: 5.406 kB / 0.722 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2531, allocations: 0 / 0.722 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2531, allocations: 4 kB / 0.722 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.2533, allocations: 28.34 kB / 0.722 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2533, allocations: 0 / 0.722 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2534, allocations: 27.91 kB / 0.7221 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.2534, allocations: 0 / 0.7221 GB, free: 12.91 MB / 0.545 GB 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 (5): * Single equations (assignments): 5 * 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 8.975e-05/0.2535, allocations: 117.8 kB / 0.7222 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.2536, allocations: 15.94 kB / 0.7222 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/0.2541, allocations: 165.9 kB / 0.7224 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2541, allocations: 4 kB / 0.7224 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2541, allocations: 4 kB / 0.7224 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2541, allocations: 3.938 kB / 0.7224 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.2543, allocations: 152.7 kB / 0.7225 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2543, allocations: 0 / 0.7225 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2545, allocations: 27.97 kB / 0.7225 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2545, allocations: 0 / 0.7225 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2545, allocations: 0 / 0.7225 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2545, allocations: 0 / 0.7225 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2545, allocations: 0 / 0.7225 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.255, allocations: 263.2 kB / 0.7228 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.255, allocations: 3.953 kB / 0.7228 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.255, allocations: 4 kB / 0.7228 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2552, allocations: 19.97 kB / 0.7228 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.2552, allocations: 7.984 kB / 0.7228 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2553, allocations: 15.94 kB / 0.7228 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.043e-05/0.2553, allocations: 101.3 kB / 0.7229 GB, free: 11.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2553, allocations: 0 / 0.7229 GB, free: 11.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002478/0.2556, allocations: 23.94 kB / 0.723 GB, free: 11.92 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0008846/0.2565, allocations: 0.7788 MB / 0.7237 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004761/0.2569, allocations: 127.9 kB / 0.7238 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2569, allocations: 0 / 0.7238 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.2572, allocations: 67.92 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.2574, allocations: 13.66 kB / 0.7239 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.2598, allocations: 1.627 MB / 0.7255 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.579e-05/0.2599, allocations: 79.89 kB / 0.7256 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.866e-05/0.2599, allocations: 7.984 kB / 0.7256 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.26, allocations: 31.36 kB / 0.7256 GB, free: 9.062 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.26, allocations: 0 / 0.7256 GB, free: 9.062 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.2831, allocations: 2.745 MB / 0.7283 GB, free: 6.441 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.93, allocations: 10.08 kB / 0.7283 GB, free: 6.434 MB / 0.545 GB " [Timeout remaining time 788] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.845619398984127] Failed to read output from testmodel.py, exit status != 0: 12.088752063922584 12.107064176 11.854353173 Calling exit ...