Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 80.11 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.239/1.239, allocations: 120.4 MB / 457.8 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.004e-05, allocations: 0 / 0.5358 GB, free: 12.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.734/0.734, allocations: 82.84 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.9046, allocations: 126.6 MB / 0.7404 GB, free: 10.56 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001631/0.9048, allocations: 51.81 kB / 0.7404 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.009831/0.9147, allocations: 3.183 MB / 0.7435 GB, free: 7.324 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9147, allocations: 0 / 0.7435 GB, free: 7.324 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.9147, allocations: 4 kB / 0.7435 GB, free: 7.32 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004647/0.9152, allocations: 447.7 kB / 0.744 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.9152, allocations: 12.03 kB / 0.744 GB, free: 6.82 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.9153, allocations: 34.55 kB / 0.744 GB, free: 6.777 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.9153, allocations: 19.77 kB / 0.744 GB, free: 6.758 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.9157, allocations: 291.6 kB / 0.7443 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.9158, allocations: 0 / 0.7443 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.9158, allocations: 4 kB / 0.7443 GB, free: 6.426 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.9159, allocations: 57.61 kB / 0.7444 GB, free: 6.363 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.9159, allocations: 3.938 kB / 0.7444 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.916, allocations: 0 / 0.7444 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.916, allocations: 7.953 kB / 0.7444 GB, free: 6.352 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.924e-05/0.9161, allocations: 20 kB / 0.7444 GB, free: 6.332 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.9163, allocations: 197.6 kB / 0.7446 GB, free: 6.09 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.9164, allocations: 38.58 kB / 0.7446 GB, free: 6.043 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.9164, allocations: 28.86 kB / 0.7446 GB, free: 6.012 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.9164, allocations: 0 / 0.7446 GB, free: 6.012 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.9166, allocations: 105.1 kB / 0.7447 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.9166, allocations: 0 / 0.7447 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.000323/0.9169, allocations: 147.1 kB / 0.7449 GB, free: 5.734 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.917, allocations: 81.06 kB / 0.745 GB, free: 5.637 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.9172, allocations: 210.9 kB / 0.7452 GB, free: 5.422 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.9172, allocations: 33.64 kB / 0.7452 GB, free: 5.383 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.9173, allocations: 120.1 kB / 0.7453 GB, free: 5.262 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.9173, allocations: 19.89 kB / 0.7453 GB, free: 5.242 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.9173, allocations: 4 kB / 0.7453 GB, free: 5.238 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.9175, allocations: 330.8 kB / 0.7456 GB, free: 4.906 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/0.9175, allocations: 16 kB / 0.7457 GB, free: 4.891 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.949e-05/0.9176, allocations: 19.94 kB / 0.7457 GB, free: 4.871 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/0.9176, allocations: 49.69 kB / 0.7457 GB, free: 4.816 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9176, allocations: 0 / 0.7457 GB, free: 4.816 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002294/0.9179, allocations: 147.2 kB / 0.7459 GB, free: 4.66 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.918, allocations: 37.69 kB / 0.7459 GB, free: 4.617 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.918, allocations: 0 / 0.7459 GB, free: 4.617 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.918, allocations: 0 / 0.7459 GB, free: 4.617 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.918, allocations: 7.938 kB / 0.7459 GB, free: 4.609 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.9181, allocations: 0 / 0.7459 GB, free: 4.609 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.9181, allocations: 11.86 kB / 0.7459 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.9181, allocations: 12 kB / 0.7459 GB, free: 4.586 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.862e-05/0.9182, allocations: 148.9 kB / 0.7461 GB, free: 4.43 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.9183, allocations: 19.81 kB / 0.7461 GB, free: 4.41 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.9183, allocations: 21.52 kB / 0.7461 GB, free: 4.387 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9183, allocations: 4 kB / 0.7461 GB, free: 4.383 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9183, allocations: 0 / 0.7461 GB, free: 4.383 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.9184, allocations: 0 / 0.7461 GB, free: 4.383 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.9185, allocations: 213.6 kB / 0.7463 GB, free: 4.125 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.9185, allocations: 4 kB / 0.7463 GB, free: 4.121 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.9186, allocations: 4 kB / 0.7463 GB, free: 4.117 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.9186, allocations: 96 / 0.7463 GB, free: 4.117 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.9186, allocations: 7.938 kB / 0.7463 GB, free: 4.109 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9186, allocations: 4 kB / 0.7463 GB, free: 4.105 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.9186, allocations: 0 / 0.7463 GB, free: 4.105 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.9189, allocations: 194.5 kB / 0.7465 GB, free: 3.891 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.919, allocations: 104.8 kB / 0.7466 GB, free: 3.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.919, allocations: 8 kB / 0.7466 GB, free: 3.762 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.9191, allocations: 7.984 kB / 0.7466 GB, free: 3.754 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.9191, allocations: 0 / 0.7466 GB, free: 3.754 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.9191, allocations: 8 kB / 0.7466 GB, free: 3.746 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001391/0.9193, allocations: 169.9 kB / 0.7468 GB, free: 3.582 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9193, allocations: 0 / 0.7468 GB, free: 3.582 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002259/0.9195, allocations: 43.98 kB / 0.7468 GB, free: 3.539 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0005894/0.9201, allocations: 0.7527 MB / 0.7476 GB, free: 2.75 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.9203, allocations: 131.4 kB / 0.7477 GB, free: 2.609 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9203, allocations: 8 kB / 0.7477 GB, free: 2.602 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.9204, allocations: 111.4 kB / 0.7478 GB, free: 2.48 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.9206, allocations: 12.67 kB / 0.7478 GB, free: 2.465 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005669/0.9211, allocations: 268 kB / 0.7481 GB, free: 2.168 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.9214, allocations: 0.7321 MB / 0.7488 GB, free: 1.41 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.982e-05/0.9215, allocations: 25.45 kB / 0.7488 GB, free: 1.387 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.9216, allocations: 43.42 kB / 0.7489 GB, free: 1.344 MB / 0.5419 GB Notification: Performance of SimCode: time 6.61e-07/0.9216, allocations: 3.938 kB / 0.7489 GB, free: 1.34 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.684/1.606, allocations: 3.026 MB / 0.7518 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/1.606, allocations: 165.1 kB / 0.752 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/3.645, allocations: 7.125 kB / 0.752 GB, free: 132.1 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat does not exist to compare? outputFormat=mat