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.01216/0.01216, allocations: 1.769 MB / 18.82 MB, free: 4.281 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.001507/0.001507, allocations: 103.6 kB / 22.07 MB, free: 1.027 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.001953/0.001953, allocations: 212.2 kB / 25.45 MB, free: 3.32 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.495/1.495, allocations: 230.6 MB / 259.3 MB, free: 13.12 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.069/1.069, allocations: 130.6 MB / 446.3 MB, free: 14.71 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: 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.3942/0.3942, allocations: 46.14 MB / 0.6551 GB, free: 30.27 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.5735, allocations: 89.05 MB / 0.7421 GB, free: 2.734 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestQuadruple): time 0.006314/0.5798, allocations: 4.594 MB / 0.7466 GB, free: 14.12 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.008974/0.5887, allocations: 6.373 MB / 0.7528 GB, free: 7.727 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.5891, allocations: 11.94 kB / 0.7528 GB, free: 7.715 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.5907, allocations: 453.8 kB / 0.7533 GB, free: 7.27 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.5912, allocations: 218.8 kB / 0.7535 GB, free: 7.055 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.5916, allocations: 215.2 kB / 0.7537 GB, free: 6.844 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.5922, allocations: 480.4 kB / 0.7541 GB, free: 6.375 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.5923, allocations: 41.7 kB / 0.7542 GB, free: 6.332 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.5926, allocations: 211 kB / 0.7544 GB, free: 6.125 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005344/0.5931, allocations: 373.3 kB / 0.7547 GB, free: 5.762 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.5932, allocations: 63.94 kB / 0.7548 GB, free: 5.699 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007186/0.5939, allocations: 443.2 kB / 0.7552 GB, free: 5.266 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.5941, allocations: 239.3 kB / 0.7554 GB, free: 5.031 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0003129/0.5945, allocations: 341.9 kB / 0.7558 GB, free: 4.695 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.5958, allocations: 1.136 MB / 0.7569 GB, free: 3.555 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5958, allocations: 0 / 0.7569 GB, free: 3.555 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5958, allocations: 4 kB / 0.7569 GB, free: 3.551 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.5959, allocations: 0 / 0.7569 GB, free: 3.551 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.002406/0.5983, allocations: 1.333 MB / 0.7582 GB, free: 2.164 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5983, allocations: 8.031 kB / 0.7582 GB, free: 2.156 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.683e-05/0.5984, allocations: 12.56 kB / 0.7582 GB, free: 2.141 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.709e-05/0.5985, allocations: 63.11 kB / 0.7583 GB, free: 2.066 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.5988, allocations: 112.3 kB / 0.7584 GB, free: 1.957 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.6016, allocations: 1.708 MB / 0.76 GB, free: 212 kB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.6016, allocations: 12.81 kB / 0.76 GB, free: 200 kB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.6017, allocations: 24.12 kB / 0.7601 GB, free: 176 kB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.6026, allocations: 334 kB / 0.7604 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.6026, allocations: 3.938 kB / 0.7604 GB, free: 15.81 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.6026, allocations: 12 kB / 0.7604 GB, free: 15.8 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.6027, allocations: 4 kB / 0.7604 GB, free: 15.8 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.6037, allocations: 311.6 kB / 0.7607 GB, free: 15.49 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.6057, allocations: 1.442 MB / 0.7621 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.6065, allocations: 279.6 kB / 0.7624 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.6069, allocations: 149.1 kB / 0.7625 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.607, allocations: 36.06 kB / 0.7626 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.607, allocations: 38.5 kB / 0.7626 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.607, allocations: 4 kB / 0.7626 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of matching and sorting (n=26): time 0.00474/0.6118, allocations: 1.635 MB / 0.7642 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.6119, allocations: 187.9 kB / 0.7644 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.613, allocations: 0.853 MB / 0.7652 GB, free: 10.64 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.613, allocations: 33.7 kB / 0.7652 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.6133, allocations: 328.8 kB / 0.7655 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.6134, allocations: 91.27 kB / 0.7656 GB, free: 10.19 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.6135, allocations: 81.88 kB / 0.7657 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6136, allocations: 318 kB / 0.766 GB, free: 9.785 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007248/0.6144, allocations: 188.5 kB / 0.7662 GB, free: 9.602 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/0.6152, allocations: 330.1 kB / 0.7665 GB, free: 9.219 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.6167, allocations: 0.5045 MB / 0.767 GB, free: 8.652 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6167, allocations: 4 kB / 0.767 GB, free: 8.648 MB / 0.5763 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001714/0.6184, allocations: 0.5707 MB / 0.7676 GB, free: 8.07 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6185, allocations: 8 kB / 0.7676 GB, free: 8.062 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6185, allocations: 4.469 kB / 0.7676 GB, free: 8.059 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.6185, allocations: 12 kB / 0.7676 GB, free: 8.047 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.619, allocations: 123.8 kB / 0.7677 GB, free: 7.926 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.6191, allocations: 11.98 kB / 0.7677 GB, free: 7.914 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.6195, allocations: 67.86 kB / 0.7678 GB, free: 7.848 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.6195, allocations: 23.98 kB / 0.7678 GB, free: 7.824 MB / 0.5763 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.000302/0.6198, allocations: 253.6 kB / 0.768 GB, free: 7.566 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.6201, allocations: 91.38 kB / 0.7681 GB, free: 7.477 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.6204, allocations: 184 kB / 0.7683 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6204, allocations: 4.094 kB / 0.7683 GB, free: 7.262 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6204, allocations: 3.938 kB / 0.7683 GB, free: 7.258 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6204, allocations: 7.984 kB / 0.7683 GB, free: 7.25 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.6233, allocations: 1.362 MB / 0.7697 GB, free: 5.828 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6233, allocations: 0 / 0.7697 GB, free: 5.828 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.6237, allocations: 83.91 kB / 0.7697 GB, free: 5.746 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6237, allocations: 4 kB / 0.7697 GB, free: 5.742 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.6237, allocations: 0 / 0.7697 GB, free: 5.742 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6237, allocations: 7.938 kB / 0.7697 GB, free: 5.734 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6237, allocations: 0 / 0.7697 GB, free: 5.734 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.6254, allocations: 0.8474 MB / 0.7706 GB, free: 4.867 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.6256, allocations: 204.5 kB / 0.7708 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.6256, allocations: 7.938 kB / 0.7708 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.6262, allocations: 67.84 kB / 0.7708 GB, free: 4.574 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.6263, allocations: 27.97 kB / 0.7709 GB, free: 4.547 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.6263, allocations: 8 kB / 0.7709 GB, free: 4.539 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0007804/0.6271, allocations: 0.6317 MB / 0.7715 GB, free: 3.91 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6271, allocations: 0 / 0.7715 GB, free: 3.91 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0006515/0.6277, allocations: 123.8 kB / 0.7716 GB, free: 3.789 MB / 0.5763 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.0034/0.6311, allocations: 1.763 MB / 0.7733 GB, free: 2.047 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.6328, allocations: 420.3 kB / 0.7737 GB, free: 1.637 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6328, allocations: 0 / 0.7737 GB, free: 1.637 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0007361/0.6335, allocations: 192 kB / 0.7739 GB, free: 1.449 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008044/0.6343, allocations: 79.44 kB / 0.774 GB, free: 1.371 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/0.6439, allocations: 5.853 MB / 0.7797 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.6445, allocations: 0.9479 MB / 0.7806 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003288/0.6449, allocations: 116.7 kB / 0.7807 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.6452, allocations: 219.3 kB / 0.781 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/0.6452, allocations: 0 / 0.781 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.6764, allocations: 12.6 MB / 0.7933 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.252/9.929, allocations: 13.25 kB / 0.7933 GB, free: 13.48 MB / 0.6075 GB " [Timeout remaining time 790] (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: 14.126503051025793] Failed to read output from testmodel.py, exit status != 0: 10.304885079036467 10.323434023 9.723995032 Calling exit ...