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.001201/0.001201, allocations: 112.3 kB / 16.62 MB, free: 6.812 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.001221/0.001222, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.189/1.189, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7914/0.7914, allocations: 119.3 MB / 410.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.4905 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4241, allocations: 80.69 MB / 0.5693 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002401/0.4265, allocations: 1.615 MB / 0.5709 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.4276, allocations: 0.8747 MB / 0.5718 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.4276, allocations: 0 / 0.5718 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.4279, allocations: 61.02 kB / 0.5718 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.4282, allocations: 90.62 kB / 0.5719 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.4284, allocations: 102.5 kB / 0.572 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.4285, allocations: 122.5 kB / 0.5721 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.4286, allocations: 4.062 kB / 0.5721 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.4287, allocations: 73.47 kB / 0.5722 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 9.267e-05/0.4288, allocations: 54.98 kB / 0.5723 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.4288, allocations: 4.531 kB / 0.5723 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.4289, allocations: 36.95 kB / 0.5723 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.621e-05/0.429, allocations: 72.25 kB / 0.5724 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.4291, allocations: 59.56 kB / 0.5724 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.4292, allocations: 151.5 kB / 0.5726 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4292, allocations: 5.172 kB / 0.5726 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4292, allocations: 0 / 0.5726 GB, free: 41.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.4292, allocations: 0 / 0.5726 GB, free: 41.09 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.0004121/0.4297, allocations: 489.8 kB / 0.573 GB, free: 40.61 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.4297, allocations: 13.86 kB / 0.573 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.286e-05/0.4297, allocations: 38.69 kB / 0.5731 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.4298, allocations: 22.09 kB / 0.5731 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.4301, allocations: 325.3 kB / 0.5734 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.4301, allocations: 9.641 kB / 0.5734 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.4301, allocations: 5.312 kB / 0.5734 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.4302, allocations: 43.03 kB / 0.5735 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.4302, allocations: 0 / 0.5735 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.4302, allocations: 5.172 kB / 0.5735 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4302, allocations: 0 / 0.5735 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/0.4303, allocations: 12.94 kB / 0.5735 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.4304, allocations: 211.6 kB / 0.5737 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.4306, allocations: 62.84 kB / 0.5737 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.4306, allocations: 17.42 kB / 0.5738 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.4307, allocations: 0 / 0.5738 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.4308, allocations: 72.86 kB / 0.5738 GB, free: 39.83 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.4308, allocations: 0 / 0.5738 GB, free: 39.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002294/0.431, allocations: 112 kB / 0.5739 GB, free: 39.76 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.4311, allocations: 52.78 kB / 0.574 GB, free: 39.7 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.4313, allocations: 278.5 kB / 0.5743 GB, free: 39.52 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.4313, allocations: 30.95 kB / 0.5743 GB, free: 39.48 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.4313, allocations: 130.9 kB / 0.5744 GB, free: 39.36 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.4314, allocations: 22.19 kB / 0.5744 GB, free: 39.34 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.4314, allocations: 27.09 kB / 0.5745 GB, free: 39.31 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.4314, allocations: 332.9 kB / 0.5748 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.4315, allocations: 11.72 kB / 0.5748 GB, free: 38.98 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.316e-05/0.4315, allocations: 28.17 kB / 0.5748 GB, free: 38.96 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.495e-05/0.4316, allocations: 46.73 kB / 0.5749 GB, free: 38.92 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4316, allocations: 5.312 kB / 0.5749 GB, free: 38.92 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001301/0.4318, allocations: 95 kB / 0.575 GB, free: 38.85 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.4318, allocations: 5.594 kB / 0.575 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.4318, allocations: 0 / 0.575 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.4318, allocations: 4.875 kB / 0.575 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.4319, allocations: 13.3 kB / 0.575 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4319, allocations: 5 kB / 0.575 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.4319, allocations: 2.375 kB / 0.575 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.4319, allocations: 2.125 kB / 0.575 GB, free: 38.84 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 7.947e-05/0.432, allocations: 152 kB / 0.5751 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.4321, allocations: 20.34 kB / 0.5752 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.4321, allocations: 24.14 kB / 0.5752 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4321, allocations: 1.5 kB / 0.5752 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4321, allocations: 0 / 0.5752 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4321, allocations: 0 / 0.5752 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.928e-05/0.4322, allocations: 216 kB / 0.5754 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4322, allocations: 1.281 kB / 0.5754 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.4323, allocations: 2.688 kB / 0.5754 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4323, allocations: 1.312 kB / 0.5754 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.4323, allocations: 5.469 kB / 0.5754 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4323, allocations: 128 / 0.5754 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4323, allocations: 7.938 kB / 0.5754 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.4325, allocations: 122.6 kB / 0.5755 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.4325, allocations: 99.16 kB / 0.5756 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.4325, allocations: 5.188 kB / 0.5756 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.4326, allocations: 1.531 kB / 0.5756 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.4326, allocations: 6.672 kB / 0.5756 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4326, allocations: 6.781 kB / 0.5756 GB, free: 38.21 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001339/0.4328, allocations: 203.5 kB / 0.5758 GB, free: 38.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4328, allocations: 0 / 0.5758 GB, free: 38.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002036/0.433, allocations: 23.66 kB / 0.5758 GB, free: 38.06 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.001007/0.434, allocations: 0.9717 MB / 0.5768 GB, free: 37.31 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.4341, allocations: 44.56 kB / 0.5768 GB, free: 37.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4341, allocations: 3.938 kB / 0.5768 GB, free: 37.29 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.4342, allocations: 16.16 kB / 0.5769 GB, free: 37.29 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4344, allocations: 32.86 kB / 0.5769 GB, free: 37.27 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.436, allocations: 2.017 MB / 0.5789 GB, free: 35.71 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.4362, allocations: 0.7379 MB / 0.5796 GB, free: 34.98 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.4363, allocations: 36.91 kB / 0.5796 GB, free: 34.96 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.4364, allocations: 66.55 kB / 0.5797 GB, free: 34.91 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4364, allocations: 0 / 0.5797 GB, free: 34.91 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.4489, allocations: 4.134 MB / 0.5837 GB, free: 32.89 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.4491, allocations: 266.2 kB / 0.584 GB, free: 32.63 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.171, allocations: 7.938 kB / 0.584 GB, free: 32.62 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches