Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Visualisation.Check.TestQuadruple.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.01217/0.01217, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.00142/0.00142, allocations: 108.5 kB / 24.98 MB, free: 2.16 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.001746/0.001746, allocations: 207.2 kB / 28.71 MB, free: 3.441 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.355/1.355, allocations: 230.6 MB / 262.9 MB, free: 6.016 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 0.9854/0.9854, allocations: 130.7 MB / 450.4 MB, free: 6.598 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.Visualisation.Check.TestQuadruple,fileNamePrefix="ClaRa_ClaRa_Visualisation_Check_TestQuadruple",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Visualisation.Check.TestQuadruple,fileNamePrefix="ClaRa_ClaRa_Visualisation_Check_TestQuadruple",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.0315/0.0315, allocations: 20.6 MB / 0.6363 GB, free: 5.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1891, allocations: 81.91 MB / 0.7163 GB, free: 3.34 MB / 0.5294 GB 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. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestQuadruple): time 0.4618/0.6509, allocations: 37.54 MB / 0.753 GB, free: 25.41 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.007276/0.6582, allocations: 6.559 MB / 0.7594 GB, free: 21.87 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.6586, allocations: 10.94 kB / 0.7594 GB, free: 21.87 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.001538/0.6601, allocations: 465.8 kB / 0.7598 GB, free: 21.7 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.6606, allocations: 221.7 kB / 0.76 GB, free: 21.57 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.6611, allocations: 219 kB / 0.7602 GB, free: 21.46 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0005228/0.6616, allocations: 478.1 kB / 0.7607 GB, free: 21.24 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.6618, allocations: 40.45 kB / 0.7607 GB, free: 21.23 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.662, allocations: 207.4 kB / 0.7609 GB, free: 21.13 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005349/0.6625, allocations: 375 kB / 0.7613 GB, free: 20.96 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 9.851e-05/0.6626, allocations: 62 kB / 0.7613 GB, free: 20.96 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007805/0.6634, allocations: 454.8 kB / 0.7618 GB, free: 20.82 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.6636, allocations: 251.5 kB / 0.762 GB, free: 20.71 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.6639, allocations: 342.1 kB / 0.7623 GB, free: 20.46 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.6652, allocations: 1.139 MB / 0.7635 GB, free: 20.01 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6652, allocations: 2.297 kB / 0.7635 GB, free: 20.01 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6652, allocations: 0 / 0.7635 GB, free: 20.01 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.6652, allocations: 0.6562 kB / 0.7635 GB, free: 20.01 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002217/0.6674, allocations: 1.242 MB / 0.7647 GB, free: 19.24 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.6675, allocations: 13.81 kB / 0.7647 GB, free: 19.23 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.453e-05/0.6675, allocations: 21.98 kB / 0.7647 GB, free: 19.22 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.465e-05/0.6676, allocations: 62.17 kB / 0.7648 GB, free: 19.16 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.6679, allocations: 112.5 kB / 0.7649 GB, free: 19.11 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.6705, allocations: 1.618 MB / 0.7665 GB, free: 18.31 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.6706, allocations: 15.84 kB / 0.7665 GB, free: 18.3 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.6706, allocations: 26.62 kB / 0.7665 GB, free: 18.29 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/0.6716, allocations: 331.3 kB / 0.7668 GB, free: 18.13 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6716, allocations: 3 kB / 0.7668 GB, free: 18.13 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.6716, allocations: 10.78 kB / 0.7668 GB, free: 18.12 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.6716, allocations: 5.406 kB / 0.7668 GB, free: 18.12 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.6728, allocations: 317.5 kB / 0.7671 GB, free: 18.07 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.6745, allocations: 1.418 MB / 0.7685 GB, free: 16.97 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.6753, allocations: 280.1 kB / 0.7688 GB, free: 16.79 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.6756, allocations: 155.9 kB / 0.7689 GB, free: 16.71 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-05/0.6757, allocations: 21.22 kB / 0.7689 GB, free: 16.71 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.6757, allocations: 44.52 kB / 0.769 GB, free: 16.66 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.6757, allocations: 0 / 0.769 GB, free: 16.66 MB / 0.5607 GB Notification: Performance of matching and sorting (n=26): time 0.004203/0.6799, allocations: 1.632 MB / 0.7706 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.68, allocations: 188.6 kB / 0.7708 GB, free: 15.69 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009638/0.681, allocations: 0.8597 MB / 0.7716 GB, free: 15.35 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.681, allocations: 34.67 kB / 0.7716 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.6812, allocations: 321.9 kB / 0.7719 GB, free: 15.05 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.6812, allocations: 98.31 kB / 0.772 GB, free: 14.97 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.6814, allocations: 79.5 kB / 0.7721 GB, free: 14.92 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.6814, allocations: 317.6 kB / 0.7724 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/0.6821, allocations: 188 kB / 0.7726 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007153/0.6828, allocations: 322.7 kB / 0.7729 GB, free: 14.39 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.6841, allocations: 0.5103 MB / 0.7734 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6841, allocations: 1.281 kB / 0.7734 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001631/0.6858, allocations: 0.5704 MB / 0.774 GB, free: 13.97 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.6858, allocations: 8.469 kB / 0.774 GB, free: 13.97 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.6858, allocations: 4.031 kB / 0.774 GB, free: 13.97 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.6858, allocations: 8.719 kB / 0.774 GB, free: 13.97 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.6864, allocations: 131.8 kB / 0.7741 GB, free: 13.96 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.6864, allocations: 8.141 kB / 0.7741 GB, free: 13.96 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.6869, allocations: 65.92 kB / 0.7742 GB, free: 13.95 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.6869, allocations: 17.89 kB / 0.7742 GB, free: 13.95 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0002784/0.6872, allocations: 259.4 kB / 0.7744 GB, free: 13.77 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.6874, allocations: 92.27 kB / 0.7745 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.6877, allocations: 174.2 kB / 0.7747 GB, free: 13.61 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6877, allocations: 7.062 kB / 0.7747 GB, free: 13.61 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.6877, allocations: 4.844 kB / 0.7747 GB, free: 13.61 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6877, allocations: 2.562 kB / 0.7747 GB, free: 13.61 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.6904, allocations: 1.333 MB / 0.776 GB, free: 12.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6904, allocations: 1.125 kB / 0.776 GB, free: 12.85 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.6908, allocations: 93.27 kB / 0.7761 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.6908, allocations: 3.906 kB / 0.7761 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.6908, allocations: 2.688 kB / 0.7761 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6908, allocations: 10.22 kB / 0.7761 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.6908, allocations: 1.031 kB / 0.7761 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.6922, allocations: 0.8397 MB / 0.7769 GB, free: 12.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.6925, allocations: 123 kB / 0.7771 GB, free: 12.24 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-05/0.6926, allocations: 16.12 kB / 0.7771 GB, free: 12.23 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005477/0.6931, allocations: 63.64 kB / 0.7771 GB, free: 12.22 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.6932, allocations: 33.34 kB / 0.7772 GB, free: 12.21 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.6932, allocations: 5.281 kB / 0.7772 GB, free: 12.21 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0008934/0.6941, allocations: 0.634 MB / 0.7778 GB, free: 11.96 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6941, allocations: 0 / 0.7778 GB, free: 11.96 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0007759/0.6949, allocations: 115.1 kB / 0.7779 GB, free: 11.94 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 20 * 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.003139/0.698, allocations: 1.775 MB / 0.7796 GB, free: 10.79 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.6996, allocations: 417.1 kB / 0.78 GB, free: 10.72 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.6996, allocations: 1.156 kB / 0.78 GB, free: 10.72 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0006924/0.7003, allocations: 189.3 kB / 0.7802 GB, free: 10.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/0.7012, allocations: 82.11 kB / 0.7803 GB, free: 10.66 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.7115, allocations: 5.858 MB / 0.786 GB, free: 7.008 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.7121, allocations: 0.9461 MB / 0.7869 GB, free: 6.191 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0003625/0.7124, allocations: 107.3 kB / 0.787 GB, free: 6.156 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.7128, allocations: 230.6 kB / 0.7873 GB, free: 5.973 MB / 0.5607 GB Notification: Performance of SimCode: time 1.443e-06/0.7128, allocations: 0 / 0.7873 GB, free: 5.973 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.7487, allocations: 12.86 MB / 0.7998 GB, free: 14.08 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.84, allocations: 11.36 kB / 0.7998 GB, free: 14.07 MB / 0.5763 GB " [Timeout remaining time 787] (rm -f ClaRa_ClaRa.Visualisation.Check.TestQuadruple.pipe ; mkfifo ClaRa_ClaRa.Visualisation.Check.TestQuadruple.pipe ; head -c 1048576 < ClaRa_ClaRa.Visualisation.Check.TestQuadruple.pipe >> ../files/ClaRa_ClaRa.Visualisation.Check.TestQuadruple.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Visualisation.Check.TestQuadruple_res.mat --tempDir=temp_ClaRa_ClaRa_Visualisation_Check_TestQuadruple_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Visualisation_Check_TestQuadruple.fmu > ClaRa_ClaRa.Visualisation.Check.TestQuadruple.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.117824116023257] Failed to read output from testmodel.py, exit status != 0: 13.462401347002015 13.479291373 12.810800327 Calling exit ...