Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7923/0.7923, allocations: 120.6 MB / 424.6 MB, free: 5.574 MB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.88 kB / 0.5932 GB, free: 3.117 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6356, allocations: 84.65 MB / 0.6759 GB, free: 16.39 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002062/0.6377, allocations: 1.189 MB / 0.677 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.6378, allocations: 24.84 kB / 0.677 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.6379, allocations: 3.938 kB / 0.677 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.243e-05/0.6379, allocations: 1.922 kB / 0.677 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 3.241e-05/0.638, allocations: 0.7031 kB / 0.677 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.6381, allocations: 12.62 kB / 0.6771 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.6382, allocations: 53.64 kB / 0.6771 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.6383, allocations: 1.797 kB / 0.6771 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.6383, allocations: 26.47 kB / 0.6771 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.6384, allocations: 20.23 kB / 0.6772 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.6384, allocations: 6.328 kB / 0.6772 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.6384, allocations: 8.531 kB / 0.6772 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.6384, allocations: 17.53 kB / 0.6772 GB, free: 15.47 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.6385, allocations: 18.33 kB / 0.6772 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.073e-05/0.6386, allocations: 45.23 kB / 0.6772 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6386, allocations: 0 / 0.6772 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6386, allocations: 0 / 0.6772 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.6386, allocations: 0 / 0.6772 GB, free: 15.45 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004763/0.639, allocations: 378.5 kB / 0.6776 GB, free: 15.08 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6391, allocations: 15.7 kB / 0.6776 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.6391, allocations: 37.25 kB / 0.6777 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.6391, allocations: 7.422 kB / 0.6777 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.6393, allocations: 176.1 kB / 0.6778 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.6393, allocations: 7.875 kB / 0.6778 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.6393, allocations: 11.97 kB / 0.6778 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.6394, allocations: 86.45 kB / 0.6779 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.6395, allocations: 3.938 kB / 0.6779 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.6395, allocations: 1.594 kB / 0.6779 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.6395, allocations: 0 / 0.6779 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.6395, allocations: 29.98 kB / 0.678 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.64, allocations: 313.5 kB / 0.6783 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.6401, allocations: 124.1 kB / 0.6784 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.6402, allocations: 42.77 kB / 0.6784 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.6402, allocations: 5.312 kB / 0.6784 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.6402, allocations: 39.92 kB / 0.6785 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.6402, allocations: 0 / 0.6785 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of matching and sorting (n=10): time 0.0002558/0.6405, allocations: 142.4 kB / 0.6786 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.6405, allocations: 56.78 kB / 0.6787 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.6406, allocations: 95.36 kB / 0.6787 GB, free: 14.03 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.6406, allocations: 35.08 kB / 0.6788 GB, free: 13.99 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.6406, allocations: 84.12 kB / 0.6789 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.6406, allocations: 58.47 kB / 0.6789 GB, free: 13.85 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.6407, allocations: 31.47 kB / 0.6789 GB, free: 13.83 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.589e-05/0.6407, allocations: 325.5 kB / 0.6793 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.6408, allocations: 60.95 kB / 0.6793 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.979e-05/0.6409, allocations: 86.84 kB / 0.6794 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.641, allocations: 136.9 kB / 0.6795 GB, free: 13.35 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.641, allocations: 1.281 kB / 0.6795 GB, free: 13.35 MB / 0.5139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002356/0.6413, allocations: 198.1 kB / 0.6797 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6413, allocations: 8.094 kB / 0.6797 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6413, allocations: 0 / 0.6797 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6413, allocations: 1.125 kB / 0.6797 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.6415, allocations: 51.31 kB / 0.6798 GB, free: 13.24 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6415, allocations: 5.219 kB / 0.6798 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.6416, allocations: 20.31 kB / 0.6798 GB, free: 13.22 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.6416, allocations: 8.094 kB / 0.6798 GB, free: 13.21 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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 5.819e-05/0.6416, allocations: 118.9 kB / 0.6799 GB, free: 13.09 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.6417, allocations: 6.609 kB / 0.6799 GB, free: 13.09 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.6417, allocations: 13.47 kB / 0.6799 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6417, allocations: 1.344 kB / 0.6799 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6417, allocations: 3.984 kB / 0.6799 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6417, allocations: 3.938 kB / 0.6799 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.6419, allocations: 192 kB / 0.6801 GB, free: 12.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6419, allocations: 8 kB / 0.6801 GB, free: 12.85 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.6422, allocations: 54.03 kB / 0.6802 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6422, allocations: 384 / 0.6802 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.6422, allocations: 8.641 kB / 0.6802 GB, free: 12.83 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6422, allocations: 0 / 0.6802 GB, free: 12.83 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6422, allocations: 0 / 0.6802 GB, free: 12.83 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.6424, allocations: 260.6 kB / 0.6804 GB, free: 12.63 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.6424, allocations: 79.86 kB / 0.6805 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.6424, allocations: 6.75 kB / 0.6805 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.6425, allocations: 6.734 kB / 0.6805 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.6425, allocations: 8.062 kB / 0.6805 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.6426, allocations: 9.359 kB / 0.6806 GB, free: 12.52 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 2.173e-05/0.6426, allocations: 79.41 kB / 0.6806 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.6426, allocations: 0 / 0.6806 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002298/0.6428, allocations: 21.88 kB / 0.6807 GB, free: 12.44 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (10): * Single equations (assignments): 10 * 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.000366/0.6432, allocations: 0.7897 MB / 0.6814 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.6434, allocations: 115.1 kB / 0.6815 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6434, allocations: 0 / 0.6815 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.6435, allocations: 45.72 kB / 0.6816 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.6437, allocations: 10.56 kB / 0.6816 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.6451, allocations: 1.781 MB / 0.6833 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.6452, allocations: 0.6986 MB / 0.684 GB, free: 9.434 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 8.514e-05/0.6453, allocations: 38.64 kB / 0.684 GB, free: 9.418 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.6454, allocations: 24.05 kB / 0.6841 GB, free: 9.398 MB / 0.5139 GB Notification: Performance of SimCode: time 3.51e-07/0.6454, allocations: 0 / 0.6841 GB, free: 9.398 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.6751, allocations: 2.279 MB / 0.6863 GB, free: 8.25 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.956, allocations: 5.281 kB / 0.6863 GB, free: 8.246 MB / 0.5139 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.735036542639136]