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.01452/0.01452, allocations: 1.745 MB / 21.38 MB, free: 464 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.00126/0.00126, allocations: 103.6 kB / 24.97 MB, free: 2.035 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.001551/0.001551, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.41/1.41, allocations: 230.6 MB / 262.9 MB, free: 5.816 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.094/1.094, allocations: 130.7 MB / 450.4 MB, free: 6.395 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.06278/0.06278, allocations: 20.6 MB / 0.6362 GB, free: 5.082 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.2314, allocations: 81.91 MB / 0.7162 GB, free: 3.082 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.5465/0.7779, allocations: 37.42 MB / 0.7527 GB, free: 25.58 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.008577/0.7865, allocations: 6.381 MB / 0.759 GB, free: 21.88 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006305/0.7872, allocations: 10.81 kB / 0.759 GB, free: 21.88 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.001792/0.7889, allocations: 459.2 kB / 0.7594 GB, free: 21.68 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0007031/0.7896, allocations: 221.3 kB / 0.7596 GB, free: 21.56 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.7902, allocations: 223.5 kB / 0.7598 GB, free: 21.45 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0006157/0.7909, allocations: 481.7 kB / 0.7603 GB, free: 21.22 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.791, allocations: 38.66 kB / 0.7603 GB, free: 21.21 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.7913, allocations: 207.2 kB / 0.7605 GB, free: 21.11 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.7918, allocations: 367.2 kB / 0.7609 GB, free: 20.95 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.7919, allocations: 61.75 kB / 0.7609 GB, free: 20.95 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.7928, allocations: 360.1 kB / 0.7613 GB, free: 20.84 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.793, allocations: 254 kB / 0.7615 GB, free: 20.72 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.7932, allocations: 260.5 kB / 0.7618 GB, free: 20.56 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.7948, allocations: 1.119 MB / 0.7629 GB, free: 20.12 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.7948, allocations: 5.688 kB / 0.7629 GB, free: 20.12 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7948, allocations: 0 / 0.7629 GB, free: 20.12 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.7948, allocations: 0 / 0.7629 GB, free: 20.12 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.002416/0.7972, allocations: 1.244 MB / 0.7641 GB, free: 19.34 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.7972, allocations: 10.78 kB / 0.7641 GB, free: 19.34 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.287e-05/0.7973, allocations: 13 kB / 0.7641 GB, free: 19.34 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.851e-05/0.7974, allocations: 66.52 kB / 0.7642 GB, free: 19.27 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/0.7978, allocations: 113.4 kB / 0.7643 GB, free: 19.22 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.8009, allocations: 1.63 MB / 0.7659 GB, free: 18.42 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.8009, allocations: 17.84 kB / 0.7659 GB, free: 18.41 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.801, allocations: 26.31 kB / 0.7659 GB, free: 18.4 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.8021, allocations: 330.2 kB / 0.7662 GB, free: 18.24 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.8021, allocations: 1.594 kB / 0.7662 GB, free: 18.24 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.8021, allocations: 11.34 kB / 0.7662 GB, free: 18.23 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.8021, allocations: 5.812 kB / 0.7663 GB, free: 18.23 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.8033, allocations: 317 kB / 0.7666 GB, free: 18.17 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.8054, allocations: 1.324 MB / 0.7678 GB, free: 17.14 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.8061, allocations: 275.8 kB / 0.7681 GB, free: 16.96 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.8066, allocations: 151.3 kB / 0.7683 GB, free: 16.89 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 8.128e-05/0.8066, allocations: 24.83 kB / 0.7683 GB, free: 16.89 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.8067, allocations: 39.56 kB / 0.7683 GB, free: 16.84 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=21): time 2.134e-06/0.8067, allocations: 0 / 0.7683 GB, free: 16.84 MB / 0.5607 GB Notification: Performance of matching and sorting (n=26): time 0.004332/0.811, allocations: 1.632 MB / 0.7699 GB, free: 16.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.811, allocations: 190.4 kB / 0.7701 GB, free: 15.88 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.8122, allocations: 0.8566 MB / 0.7709 GB, free: 15.53 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.8122, allocations: 31.36 kB / 0.771 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.8124, allocations: 326 kB / 0.7713 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 7.071e-05/0.8125, allocations: 98.33 kB / 0.7714 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.8126, allocations: 79.66 kB / 0.7714 GB, free: 15.11 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.8127, allocations: 320.9 kB / 0.7717 GB, free: 14.79 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.8134, allocations: 187.7 kB / 0.7719 GB, free: 14.77 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.8141, allocations: 322 kB / 0.7722 GB, free: 14.57 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.8153, allocations: 0.5069 MB / 0.7727 GB, free: 14.32 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.8153, allocations: 1.125 kB / 0.7727 GB, free: 14.32 MB / 0.5607 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001633/0.817, allocations: 0.5719 MB / 0.7733 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.817, allocations: 6.781 kB / 0.7733 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.817, allocations: 8.5 kB / 0.7733 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.817, allocations: 8.281 kB / 0.7733 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.8176, allocations: 137.3 kB / 0.7734 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.8176, allocations: 6.391 kB / 0.7734 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.8181, allocations: 72.23 kB / 0.7735 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.8182, allocations: 13.7 kB / 0.7735 GB, free: 14.13 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.0004009/0.8186, allocations: 258.6 kB / 0.7738 GB, free: 13.95 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.8188, allocations: 96.52 kB / 0.7739 GB, free: 13.89 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.8191, allocations: 171.8 kB / 0.774 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.8191, allocations: 6.312 kB / 0.774 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.8191, allocations: 1.375 kB / 0.774 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.8191, allocations: 2.297 kB / 0.774 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.8218, allocations: 1.293 MB / 0.7753 GB, free: 13.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8218, allocations: 1.375 kB / 0.7753 GB, free: 13.04 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.8221, allocations: 94.39 kB / 0.7754 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.8221, allocations: 3.375 kB / 0.7754 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.8222, allocations: 1.531 kB / 0.7754 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.8222, allocations: 5.375 kB / 0.7754 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8222, allocations: 1.375 kB / 0.7754 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.8236, allocations: 0.8396 MB / 0.7762 GB, free: 12.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.8238, allocations: 123.4 kB / 0.7763 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.8239, allocations: 15.48 kB / 0.7764 GB, free: 12.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.8244, allocations: 67.67 kB / 0.7764 GB, free: 12.41 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.8245, allocations: 27.88 kB / 0.7764 GB, free: 12.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.8245, allocations: 5.562 kB / 0.7765 GB, free: 12.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00086/0.8254, allocations: 0.629 MB / 0.7771 GB, free: 12.15 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/0.8254, allocations: 3.844 kB / 0.7771 GB, free: 12.15 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0007561/0.8261, allocations: 117.4 kB / 0.7772 GB, free: 12.13 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.002886/0.829, allocations: 1.786 MB / 0.7789 GB, free: 10.99 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.8305, allocations: 411.8 kB / 0.7793 GB, free: 10.92 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8305, allocations: 1.125 kB / 0.7793 GB, free: 10.92 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0006544/0.8311, allocations: 192.1 kB / 0.7795 GB, free: 10.89 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009443/0.8321, allocations: 80.14 kB / 0.7796 GB, free: 10.86 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/0.841, allocations: 5.856 MB / 0.7853 GB, free: 7.273 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.8413, allocations: 356.1 kB / 0.7856 GB, free: 7.062 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0003665/0.8417, allocations: 109.5 kB / 0.7857 GB, free: 7.023 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.842, allocations: 228.2 kB / 0.786 GB, free: 6.844 MB / 0.5607 GB Notification: Performance of SimCode: time 1.573e-06/0.842, allocations: 0 / 0.786 GB, free: 6.844 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.8764, allocations: 13.19 MB / 0.7988 GB, free: 14.59 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.49, allocations: 3.859 kB / 0.7988 GB, free: 14.58 MB / 0.5763 GB " [Timeout remaining time 786] (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: 18.01697635499295] Failed to read output from testmodel.py, exit status != 0: 14.118493024026975 14.134801519 13.336953023 Calling exit ...