Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.000782/0.0007822, allocations: 91.06 kB / 17.35 MB, free: 6 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.0008709/0.0008709, allocations: 177.9 kB / 18.26 MB, free: 5.391 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.321/1.321, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.1894/0.1894, allocations: 44.24 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002987, allocations: 12 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 61.92 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001884/0.1154, allocations: 1.417 MB / 473.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1167, allocations: 0.8459 MB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.1168, allocations: 0 / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1172, allocations: 39.89 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1173, allocations: 47.77 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1176, allocations: 91.2 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1178, allocations: 95.69 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1179, allocations: 20.2 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.118, allocations: 35.8 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.1181, allocations: 35.78 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1182, allocations: 0 / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1183, allocations: 43.97 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.1183, allocations: 19.92 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.1184, allocations: 57.45 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1186, allocations: 111.9 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1186, allocations: 0 / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1186, allocations: 4 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1186, allocations: 0 / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006038/0.1192, allocations: 413.2 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1193, allocations: 8.031 kB / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.1193, allocations: 30.75 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1194, allocations: 12.83 kB / 475.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1196, allocations: 208.8 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1196, allocations: 4.375 kB / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1197, allocations: 3.938 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1198, allocations: 57.67 kB / 475.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1198, allocations: 3.984 kB / 475.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1198, allocations: 0 / 475.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1198, allocations: 4 kB / 476 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.1199, allocations: 19.92 kB / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1203, allocations: 292.7 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1204, allocations: 62.69 kB / 476.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.1205, allocations: 20.84 kB / 476.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1205, allocations: 0 / 476.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.1207, allocations: 71.33 kB / 476.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1207, allocations: 0 / 476.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000529/0.1212, allocations: 181.1 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1213, allocations: 55.39 kB / 476.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1215, allocations: 203.3 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1215, allocations: 29.7 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.1216, allocations: 104.1 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1216, allocations: 19.72 kB / 477 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1217, allocations: 17.7 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1218, allocations: 322.8 kB / 477.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.1218, allocations: 20 kB / 477.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.1219, allocations: 37.7 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.122, allocations: 61.64 kB / 477.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.122, allocations: 0 / 477.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001712/0.1222, allocations: 101.6 kB / 477.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1222, allocations: 7.938 kB / 477.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1222, allocations: 3.969 kB / 477.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1223, allocations: 4 kB / 477.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.1224, allocations: 16 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1224, allocations: 0 / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.1224, allocations: 7.922 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1224, allocations: 4 kB / 477.6 MB, free: 7.719 MB / 350.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 (10): * Single equations (assignments): 10 * 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 9.997e-05/0.1225, allocations: 129.8 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.1226, allocations: 11.81 kB / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.1226, allocations: 17.55 kB / 477.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1226, allocations: 8 kB / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1226, allocations: 0 / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1227, allocations: 3.938 kB / 477.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.1231, allocations: 395.3 kB / 478.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1231, allocations: 0 / 478.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.1231, allocations: 15.92 kB / 478.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1231, allocations: 3.938 kB / 478.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.1231, allocations: 192 / 478.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1231, allocations: 8.031 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1232, allocations: 3.938 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.1234, allocations: 208.2 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1234, allocations: 89 kB / 478.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1235, allocations: 7.938 kB / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.1235, allocations: 4 kB / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1236, allocations: 11.98 kB / 478.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1236, allocations: 4 kB / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1237, allocations: 152.8 kB / 478.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1237, allocations: 0 / 478.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.124, allocations: 24 kB / 478.7 MB, free: 6.539 MB / 350.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 (8): * Single equations (assignments): 6 * 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.001377/0.1254, allocations: 1.095 MB / 479.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.1255, allocations: 55.92 kB / 479.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1256, allocations: 4.062 kB / 479.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.512e-05/0.1256, allocations: 31.92 kB / 479.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.126, allocations: 23.98 kB / 479.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.1276, allocations: 1.685 MB / 481.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1279, allocations: 0.7004 MB / 482.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.1279, allocations: 16.88 kB / 482.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.128, allocations: 39.36 kB / 482.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.128, allocations: 0 / 482.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1421, allocations: 3.001 MB / 485.3 MB, free: 60 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.1423, allocations: 236.8 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.848, allocations: 4 kB / 485.5 MB, free: 15.8 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches