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.01537/0.01537, allocations: 1.777 MB / 18.82 MB, free: 4.336 MB / 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.001424/0.001424, allocations: 103.7 kB / 22.07 MB, free: 1.09 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.001623/0.001623, allocations: 211 kB / 25.45 MB, free: 2.953 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.478/1.478, allocations: 230.6 MB / 259.2 MB, free: 13.1 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.078/1.078, allocations: 130.6 MB / 446.3 MB, free: 14.93 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. Notification: TILMedia 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. 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.3864/0.3864, allocations: 46.15 MB / 0.6552 GB, free: 30.26 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.5692, allocations: 89.06 MB / 0.7421 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003624/0.5728, allocations: 2.205 MB / 0.7443 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.5741, allocations: 0.6972 MB / 0.745 GB, free: 15.86 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.8e-05/0.5741, allocations: 3.938 kB / 0.745 GB, free: 15.85 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.5742, allocations: 7.922 kB / 0.745 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 6.919e-05/0.5742, allocations: 15.8 kB / 0.745 GB, free: 15.83 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.5746, allocations: 107.7 kB / 0.7451 GB, free: 15.72 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.5748, allocations: 79.77 kB / 0.7452 GB, free: 15.64 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.5749, allocations: 16.22 kB / 0.7452 GB, free: 15.62 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.5751, allocations: 43.78 kB / 0.7452 GB, free: 15.58 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.5751, allocations: 43.83 kB / 0.7453 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.5751, allocations: 4 kB / 0.7453 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.5754, allocations: 183.7 kB / 0.7455 GB, free: 15.36 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.5755, allocations: 15.92 kB / 0.7455 GB, free: 15.34 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.5755, allocations: 39.8 kB / 0.7455 GB, free: 15.3 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.5758, allocations: 147.5 kB / 0.7457 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5758, allocations: 0 / 0.7457 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5758, allocations: 3.938 kB / 0.7457 GB, free: 15.15 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.5758, allocations: 4 kB / 0.7457 GB, free: 15.15 MB / 0.5607 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.0007727/0.5765, allocations: 430.9 kB / 0.7461 GB, free: 14.68 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5766, allocations: 8.031 kB / 0.7461 GB, free: 14.67 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.67e-05/0.5766, allocations: 8.188 kB / 0.7461 GB, free: 14.66 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.5766, allocations: 30.75 kB / 0.7461 GB, free: 14.62 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.5768, allocations: 20.88 kB / 0.7461 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.5771, allocations: 192.1 kB / 0.7463 GB, free: 14.38 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5771, allocations: 8.375 kB / 0.7463 GB, free: 14.37 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.5771, allocations: 384 / 0.7463 GB, free: 14.37 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.5775, allocations: 109.5 kB / 0.7464 GB, free: 14.26 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.5775, allocations: 0 / 0.7464 GB, free: 14.26 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5775, allocations: 0 / 0.7464 GB, free: 14.26 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5775, allocations: 0 / 0.7464 GB, free: 14.26 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.578, allocations: 111.8 kB / 0.7465 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.5784, allocations: 308.8 kB / 0.7468 GB, free: 13.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.5787, allocations: 78.48 kB / 0.7469 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.579, allocations: 64.92 kB / 0.747 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.579, allocations: 3.984 kB / 0.747 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5791, allocations: 30.56 kB / 0.747 GB, free: 13.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.5791, allocations: 0 / 0.747 GB, free: 13.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5): time 0.0009057/0.58, allocations: 209.5 kB / 0.7472 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.58, allocations: 51.41 kB / 0.7472 GB, free: 13.33 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.5801, allocations: 136.1 kB / 0.7474 GB, free: 13.19 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.5802, allocations: 29.64 kB / 0.7474 GB, free: 13.15 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.5802, allocations: 100 kB / 0.7475 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.5803, allocations: 23.89 kB / 0.7475 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.5803, allocations: 13.72 kB / 0.7475 GB, free: 13.01 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5805, allocations: 322.8 kB / 0.7478 GB, free: 12.68 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.5807, allocations: 55.94 kB / 0.7479 GB, free: 12.63 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.581, allocations: 56.19 kB / 0.748 GB, free: 12.57 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.5814, allocations: 116.9 kB / 0.7481 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5814, allocations: 0 / 0.7481 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005388/0.582, allocations: 153.5 kB / 0.7482 GB, free: 12.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.582, allocations: 4 kB / 0.7482 GB, free: 12.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.582, allocations: 0 / 0.7482 GB, free: 12.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.582, allocations: 3.938 kB / 0.7482 GB, free: 12.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.5822, allocations: 31.91 kB / 0.7482 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5822, allocations: 7.984 kB / 0.7483 GB, free: 12.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.5824, allocations: 19.88 kB / 0.7483 GB, free: 12.23 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.5824, allocations: 11.98 kB / 0.7483 GB, free: 12.22 MB / 0.5607 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 0.0001019/0.5825, allocations: 109.8 kB / 0.7484 GB, free: 12.11 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.5825, allocations: 7.953 kB / 0.7484 GB, free: 12.1 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006023/0.5831, allocations: 165.9 kB / 0.7486 GB, free: 11.93 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5831, allocations: 0 / 0.7486 GB, free: 11.93 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5831, allocations: 0 / 0.7486 GB, free: 11.93 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5831, allocations: 3.938 kB / 0.7486 GB, free: 11.92 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.5833, allocations: 193.6 kB / 0.7487 GB, free: 11.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5834, allocations: 3.938 kB / 0.7487 GB, free: 11.68 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.5835, allocations: 35.95 kB / 0.7488 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5835, allocations: 0 / 0.7488 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.5835, allocations: 0 / 0.7488 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5835, allocations: 3.938 kB / 0.7488 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5835, allocations: 4.125 kB / 0.7488 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.5841, allocations: 263.3 kB / 0.749 GB, free: 11.36 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.5842, allocations: 85.05 kB / 0.7491 GB, free: 11.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.5842, allocations: 0 / 0.7491 GB, free: 11.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.5844, allocations: 19.97 kB / 0.7491 GB, free: 11.24 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.5844, allocations: 11.98 kB / 0.7492 GB, free: 11.23 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.5844, allocations: 11.94 kB / 0.7492 GB, free: 11.22 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 6.922e-05/0.5845, allocations: 99.27 kB / 0.7493 GB, free: 11.12 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/0.5845, allocations: 3.938 kB / 0.7493 GB, free: 11.12 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002527/0.5848, allocations: 16 kB / 0.7493 GB, free: 11.1 MB / 0.5607 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.0009836/0.5858, allocations: 0.7865 MB / 0.75 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00058/0.5863, allocations: 127.8 kB / 0.7502 GB, free: 10.16 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5863, allocations: 0 / 0.7502 GB, free: 10.16 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.5866, allocations: 59.94 kB / 0.7502 GB, free: 10.11 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.5869, allocations: 14.59 kB / 0.7502 GB, free: 10.09 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.5895, allocations: 1.623 MB / 0.7518 GB, free: 8.387 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5898, allocations: 0.6924 MB / 0.7525 GB, free: 7.668 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.5899, allocations: 3.938 kB / 0.7525 GB, free: 7.664 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.5899, allocations: 31.42 kB / 0.7525 GB, free: 7.633 MB / 0.5607 GB Notification: Performance of SimCode: time 2.9e-07/0.5899, allocations: 0 / 0.7525 GB, free: 7.633 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.6074, allocations: 2.563 MB / 0.755 GB, free: 5.191 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.747, allocations: 8.688 kB / 0.755 GB, free: 5.184 MB / 0.5607 GB " [Timeout remaining time 791] (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: 12.521360329992604] Failed to read output from testmodel.py, exit status != 0: 8.867908785992768 8.885271335 8.304366807 Calling exit ...