Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.00119/0.00119, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001159/0.001159, allocations: 188 kB / 18.71 MB, free: 4.387 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 71.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3526, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002737/0.3553, allocations: 1.706 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.3575, allocations: 1.481 MB / 0.5216 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.3576, allocations: 4.938 kB / 0.5216 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.358, allocations: 35.67 kB / 0.5217 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.3583, allocations: 64.38 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.3587, allocations: 106.6 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.3589, allocations: 108.5 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3591, allocations: 8.141 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/0.3592, allocations: 50.98 kB / 0.522 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.3593, allocations: 37.5 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.3594, allocations: 4.656 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.3595, allocations: 64.47 kB / 0.5221 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.3596, allocations: 24.44 kB / 0.5221 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.3597, allocations: 39.09 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3599, allocations: 128.9 kB / 0.5223 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3599, allocations: 1.219 kB / 0.5223 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.36, allocations: 0 / 0.5223 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.36, allocations: 0 / 0.5223 GB, free: 0.7305 MB / 382.1 MB 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.0005589/0.3605, allocations: 416.5 kB / 0.5227 GB, free: 328 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3606, allocations: 9.688 kB / 0.5227 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.3606, allocations: 32.95 kB / 0.5227 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.3607, allocations: 14.67 kB / 0.5227 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.3609, allocations: 213.2 kB / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3609, allocations: 2.844 kB / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.361, allocations: 6.094 kB / 0.5229 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.3612, allocations: 83.73 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3612, allocations: 0 / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3612, allocations: 1.719 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3613, allocations: 0 / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.3614, allocations: 34.41 kB / 0.523 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.3618, allocations: 295 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.3621, allocations: 67.91 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.3621, allocations: 27.33 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.3622, allocations: 5.75 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.3624, allocations: 74 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3624, allocations: 0 / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007233/0.3631, allocations: 199.7 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.3632, allocations: 82.83 kB / 0.5238 GB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.3635, allocations: 158.5 kB / 0.5239 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3635, allocations: 28.11 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3636, allocations: 98.19 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.3636, allocations: 27.14 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.3637, allocations: 27.47 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3639, allocations: 321 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.364, allocations: 24.42 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.3641, allocations: 51.52 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3643, allocations: 75.5 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3643, allocations: 0 / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002452/0.3645, allocations: 113.9 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3646, allocations: 5.906 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3646, allocations: 8.438 kB / 0.5247 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3646, allocations: 1.188 kB / 0.5247 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3647, allocations: 17.19 kB / 0.5247 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3647, allocations: 2.359 kB / 0.5247 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.3648, allocations: 10.36 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3648, allocations: 6.688 kB / 0.5247 GB, free: 14.59 MB / 398.1 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.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001153/0.3649, allocations: 119.4 kB / 0.5248 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.365, allocations: 14.08 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.365, allocations: 18.5 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.365, allocations: 1.094 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.365, allocations: 5 kB / 0.5248 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3651, allocations: 0.7031 kB / 0.5248 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.3656, allocations: 414.9 kB / 0.5252 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3657, allocations: 0 / 0.5252 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.3657, allocations: 16.06 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3657, allocations: 0 / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3657, allocations: 3.406 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3657, allocations: 1.969 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3657, allocations: 0 / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.366, allocations: 221.7 kB / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.3661, allocations: 83.19 kB / 0.5256 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.3661, allocations: 7.75 kB / 0.5256 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.3662, allocations: 2.172 kB / 0.5256 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.3663, allocations: 11.08 kB / 0.5256 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3663, allocations: 8.422 kB / 0.5256 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3664, allocations: 121.5 kB / 0.5257 GB, free: 13.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3664, allocations: 0 / 0.5257 GB, free: 13.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.3667, allocations: 36.09 kB / 0.5257 GB, free: 13.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001668/0.3684, allocations: 1.15 MB / 0.5269 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3686, allocations: 76.59 kB / 0.5269 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3686, allocations: 4.062 kB / 0.5269 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.37e-05/0.3687, allocations: 32.56 kB / 0.527 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.3691, allocations: 32.44 kB / 0.527 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.371, allocations: 1.612 MB / 0.5286 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3714, allocations: 0.7129 MB / 0.5293 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.576e-05/0.3715, allocations: 21.95 kB / 0.5293 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.3716, allocations: 34.98 kB / 0.5293 GB, free: 10.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3716, allocations: 0 / 0.5293 GB, free: 10.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.3951, allocations: 3.757 MB / 0.533 GB, free: 8.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.801, allocations: 17.78 kB / 0.533 GB, free: 8.934 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches