Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.conf.json 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/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/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 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.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001111, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7586/0.7586, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 59.91 kB / 0.491 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3972, allocations: 80.69 MB / 0.5698 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002374/0.3996, allocations: 1.552 MB / 0.5714 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.4007, allocations: 0.8888 MB / 0.5722 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.4008, allocations: 5.312 kB / 0.5722 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.4011, allocations: 64.36 kB / 0.5723 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.4014, allocations: 107.4 kB / 0.5724 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.4016, allocations: 104.8 kB / 0.5725 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.4017, allocations: 131.6 kB / 0.5726 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.4018, allocations: 4.25 kB / 0.5726 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.4019, allocations: 63.42 kB / 0.5727 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.402, allocations: 63.59 kB / 0.5727 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.4021, allocations: 4.938 kB / 0.5728 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.4021, allocations: 32.67 kB / 0.5728 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4022, allocations: 71.08 kB / 0.5728 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.4023, allocations: 55.31 kB / 0.5729 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.4025, allocations: 156.6 kB / 0.5731 GB, free: 40.89 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4025, allocations: 3.984 kB / 0.5731 GB, free: 40.89 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4025, allocations: 1.219 kB / 0.5731 GB, free: 40.89 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4025, allocations: 0 / 0.5731 GB, free: 40.89 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004608/0.403, allocations: 493 kB / 0.5735 GB, free: 40.41 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.403, allocations: 13.98 kB / 0.5735 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.403, allocations: 34.75 kB / 0.5736 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.4031, allocations: 25.91 kB / 0.5736 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.4034, allocations: 329.1 kB / 0.5739 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4034, allocations: 5.641 kB / 0.5739 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.4034, allocations: 5.156 kB / 0.5739 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.4035, allocations: 44.03 kB / 0.574 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4036, allocations: 0 / 0.574 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.4036, allocations: 7.984 kB / 0.574 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4036, allocations: 1.125 kB / 0.574 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.4037, allocations: 11.69 kB / 0.574 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.4038, allocations: 216.4 kB / 0.5742 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.404, allocations: 54.61 kB / 0.5742 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.404, allocations: 17.64 kB / 0.5743 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.404, allocations: 0 / 0.5743 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.4042, allocations: 72.67 kB / 0.5743 GB, free: 39.63 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.4042, allocations: 4 kB / 0.5743 GB, free: 39.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002434/0.4045, allocations: 104.1 kB / 0.5744 GB, free: 39.56 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.4045, allocations: 52.62 kB / 0.5745 GB, free: 39.5 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.4047, allocations: 279.5 kB / 0.5747 GB, free: 39.32 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.4047, allocations: 25.7 kB / 0.5748 GB, free: 39.29 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.4048, allocations: 135.2 kB / 0.5749 GB, free: 39.16 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.4048, allocations: 14.39 kB / 0.5749 GB, free: 39.15 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.4048, allocations: 18.59 kB / 0.5749 GB, free: 39.13 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.4049, allocations: 341.8 kB / 0.5753 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/0.4049, allocations: 15.47 kB / 0.5753 GB, free: 38.78 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/0.405, allocations: 31.89 kB / 0.5753 GB, free: 38.75 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.4051, allocations: 43.02 kB / 0.5753 GB, free: 38.72 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4051, allocations: 3.938 kB / 0.5753 GB, free: 38.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001352/0.4052, allocations: 95.84 kB / 0.5754 GB, free: 38.65 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4053, allocations: 8.281 kB / 0.5754 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4053, allocations: 5.172 kB / 0.5755 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.4053, allocations: 0.875 kB / 0.5755 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.4053, allocations: 12.2 kB / 0.5755 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4054, allocations: 1.469 kB / 0.5755 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.4054, allocations: 7.156 kB / 0.5755 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4054, allocations: 9.719 kB / 0.5755 GB, free: 38.63 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.117e-05/0.4055, allocations: 143.9 kB / 0.5756 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.4055, allocations: 25.19 kB / 0.5756 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.4056, allocations: 27.89 kB / 0.5757 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.4056, allocations: 0 / 0.5757 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4056, allocations: 1.094 kB / 0.5757 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4056, allocations: 0 / 0.5757 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.4057, allocations: 224.6 kB / 0.5759 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4057, allocations: 0 / 0.5759 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/0.4057, allocations: 3.344 kB / 0.5759 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4058, allocations: 1.094 kB / 0.5759 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.4058, allocations: 0.9375 kB / 0.5759 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4058, allocations: 0 / 0.5759 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4058, allocations: 5.094 kB / 0.5759 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.4059, allocations: 122.1 kB / 0.576 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.406, allocations: 98.69 kB / 0.5761 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.406, allocations: 1.562 kB / 0.5761 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.406, allocations: 1.469 kB / 0.5761 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.4061, allocations: 6.547 kB / 0.5761 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.4061, allocations: 6.938 kB / 0.5761 GB, free: 38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00014/0.4062, allocations: 207.2 kB / 0.5763 GB, free: 37.87 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4062, allocations: 1.125 kB / 0.5763 GB, free: 37.87 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002028/0.4065, allocations: 15.31 kB / 0.5763 GB, free: 37.87 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009965/0.4075, allocations: 0.9666 MB / 0.5773 GB, free: 37.12 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.4076, allocations: 56.34 kB / 0.5773 GB, free: 37.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4076, allocations: 0 / 0.5773 GB, free: 37.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.207e-05/0.4077, allocations: 16.38 kB / 0.5773 GB, free: 37.09 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.408, allocations: 43.7 kB / 0.5774 GB, free: 37.06 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.4095, allocations: 1.983 MB / 0.5793 GB, free: 35.54 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.4097, allocations: 0.7367 MB / 0.58 GB, free: 34.82 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.4098, allocations: 46.14 kB / 0.5801 GB, free: 34.8 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.4099, allocations: 65.52 kB / 0.5802 GB, free: 34.75 MB / 462.3 MB Notification: Performance of SimCode: time 1.9e-07/0.4099, allocations: 0 / 0.5802 GB, free: 34.75 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.4304, allocations: 4.23 MB / 0.5843 GB, free: 32.6 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.515/6.945, allocations: 11.38 kB / 0.5843 GB, free: 32.59 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches