Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 185.3 kB / 8.13 MB, free: 2.039 MB / 5.887 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.091/1.091, allocations: 221.4 MB / 229.9 MB, free: 3.27 MB / 186.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008863, allocations: 100.8 kB / 280.8 MB, free: 1.422 MB / 218.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6151/0.6151, allocations: 120.5 MB / 452 MB, free: 13.2 MB / 346.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3203/0.9355, allocations: 89.71 MB / 0.529 GB, free: 51.82 MB / 395.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/1.039, allocations: 82.84 MB / 0.6099 GB, free: 2.898 MB / 427.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/1.477, allocations: 124.4 MB / 0.7314 GB, free: 4.68 MB / 0.4954 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001158/1.477, allocations: 52.91 kB / 0.7315 GB, free: 4.66 MB / 0.4954 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.02082/1.498, allocations: 6.649 MB / 0.738 GB, free: 15.17 MB / 0.511 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/1.498, allocations: 8 kB / 0.738 GB, free: 15.16 MB / 0.511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.63e-05/1.498, allocations: 42.36 kB / 0.738 GB, free: 15.12 MB / 0.511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/1.498, allocations: 278.4 kB / 0.7383 GB, free: 14.81 MB / 0.511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/1.498, allocations: 12.56 kB / 0.7383 GB, free: 14.8 MB / 0.511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.498, allocations: 70.73 kB / 0.7384 GB, free: 14.74 MB / 0.511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003932/1.499, allocations: 288.6 kB / 0.7387 GB, free: 14.53 MB / 0.511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/1.499, allocations: 488 kB / 0.7391 GB, free: 14.12 MB / 0.511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.499, allocations: 3.938 kB / 0.7391 GB, free: 14.12 MB / 0.511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/1.5, allocations: 4 kB / 0.7391 GB, free: 14.11 MB / 0.511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/1.5, allocations: 13 kB / 0.7391 GB, free: 14.1 MB / 0.511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/1.501, allocations: 1.01 MB / 0.7401 GB, free: 13.15 MB / 0.511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/1.502, allocations: 1.04 MB / 0.7411 GB, free: 12.36 MB / 0.511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/1.503, allocations: 322.2 kB / 0.7414 GB, free: 12.13 MB / 0.511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/1.503, allocations: 13 kB / 0.7415 GB, free: 12.12 MB / 0.511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/1.503, allocations: 46.69 kB / 0.7415 GB, free: 12.07 MB / 0.511 GB Notification: Performance of pre-optimization done (n=100): time 2.254e-06/1.503, allocations: 0 / 0.7415 GB, free: 12.07 MB / 0.511 GB Notification: Performance of matching and sorting (n=100): time 0.001048/1.504, allocations: 0.8009 MB / 0.7423 GB, free: 11.43 MB / 0.511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/1.504, allocations: 60.41 kB / 0.7423 GB, free: 11.36 MB / 0.511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/1.504, allocations: 92.94 kB / 0.7424 GB, free: 11.26 MB / 0.511 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/1.504, allocations: 25.7 kB / 0.7425 GB, free: 11.23 MB / 0.511 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/1.504, allocations: 90.12 kB / 0.7425 GB, free: 11.14 MB / 0.511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/1.504, allocations: 471.1 kB / 0.743 GB, free: 10.75 MB / 0.511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/1.504, allocations: 4 kB / 0.743 GB, free: 10.74 MB / 0.511 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.504, allocations: 375.6 kB / 0.7434 GB, free: 10.39 MB / 0.511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/1.505, allocations: 0.5896 MB / 0.7439 GB, free: 9.949 MB / 0.511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/1.506, allocations: 0.6877 MB / 0.7446 GB, free: 9.43 MB / 0.511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/1.507, allocations: 0.7256 MB / 0.7453 GB, free: 8.863 MB / 0.511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.507, allocations: 0 / 0.7453 GB, free: 8.863 MB / 0.511 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.001722/1.508, allocations: 1.535 MB / 0.7468 GB, free: 7.613 MB / 0.511 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.508, allocations: 8.656 kB / 0.7468 GB, free: 7.605 MB / 0.511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.508, allocations: 4 kB / 0.7468 GB, free: 7.602 MB / 0.511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.508, allocations: 4 kB / 0.7468 GB, free: 7.598 MB / 0.511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.51, allocations: 0.4946 MB / 0.7473 GB, free: 7.113 MB / 0.511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.51, allocations: 8 kB / 0.7473 GB, free: 7.105 MB / 0.511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/1.51, allocations: 112.5 kB / 0.7474 GB, free: 6.996 MB / 0.511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/1.511, allocations: 44.81 kB / 0.7475 GB, free: 6.965 MB / 0.511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/1.511, allocations: 124.6 kB / 0.7476 GB, free: 6.836 MB / 0.511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.352e-05/1.511, allocations: 43.72 kB / 0.7476 GB, free: 6.793 MB / 0.511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/1.511, allocations: 72.02 kB / 0.7477 GB, free: 6.777 MB / 0.511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.511, allocations: 11.98 kB / 0.7477 GB, free: 6.766 MB / 0.511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.511, allocations: 0 / 0.7477 GB, free: 6.766 MB / 0.511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.511, allocations: 3.984 kB / 0.7477 GB, free: 6.762 MB / 0.511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/1.512, allocations: 0.5022 MB / 0.7482 GB, free: 6.266 MB / 0.511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.512, allocations: 0 / 0.7482 GB, free: 6.266 MB / 0.511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002617/1.514, allocations: 0.5009 MB / 0.7487 GB, free: 5.777 MB / 0.511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.514, allocations: 4 kB / 0.7487 GB, free: 5.773 MB / 0.511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.514, allocations: 62.8 kB / 0.7488 GB, free: 5.719 MB / 0.511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/1.514, allocations: 8 kB / 0.7488 GB, free: 5.711 MB / 0.511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.514, allocations: 0 / 0.7488 GB, free: 5.711 MB / 0.511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001349/1.516, allocations: 1.267 MB / 0.75 GB, free: 4.664 MB / 0.511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001828/1.518, allocations: 2.072 MB / 0.752 GB, free: 2.898 MB / 0.511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/1.518, allocations: 120.5 kB / 0.7521 GB, free: 2.762 MB / 0.511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.518, allocations: 51.84 kB / 0.7522 GB, free: 2.711 MB / 0.511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/1.518, allocations: 31.97 kB / 0.7522 GB, free: 2.68 MB / 0.511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/1.518, allocations: 55.97 kB / 0.7523 GB, free: 2.633 MB / 0.511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/1.518, allocations: 27.61 kB / 0.7523 GB, free: 2.609 MB / 0.511 GB Notification: Performance of sort global known variables: time 2.987e-05/1.518, allocations: 82.84 kB / 0.7524 GB, free: 2.531 MB / 0.511 GB Notification: Performance of remove unused functions: time 0.001042/1.519, allocations: 168 kB / 0.7525 GB, free: 2.367 MB / 0.511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001929/1.52, allocations: 157.9 kB / 0.7527 GB, free: 2.211 MB / 0.511 GB Notification: Performance of simCode: created initialization part: time 0.00128/1.521, allocations: 1.156 MB / 0.7538 GB, free: 1.305 MB / 0.511 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.521, allocations: 3.938 kB / 0.7538 GB, free: 1.301 MB / 0.511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004373/1.521, allocations: 433.9 kB / 0.7542 GB, free: 0.9727 MB / 0.511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/1.522, allocations: 1.125 kB / 0.7542 GB, free: 0.9727 MB / 0.511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/1.524, allocations: 2.518 MB / 0.7567 GB, free: 14.47 MB / 0.5267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008455/1.525, allocations: 1.232 MB / 0.7579 GB, free: 13.24 MB / 0.5267 GB Notification: Performance of SimCode: time 3.6e-07/1.525, allocations: 0 / 0.7579 GB, free: 13.24 MB / 0.5267 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat does not exist to compare? outputFormat=mat