Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.0009098/0.0009099, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.001665/0.001665, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.272/1.272, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.186/0.186, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002988, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 61.91 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002174/0.116, allocations: 1.429 MB / 473.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1176, allocations: 0.8342 MB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1177, allocations: 4 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.1181, allocations: 39.89 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1184, allocations: 47.77 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.1188, allocations: 91.81 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.119, allocations: 91.7 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1191, allocations: 8.219 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1192, allocations: 39.8 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.1194, allocations: 35.78 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1194, allocations: 0 / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1195, allocations: 39.98 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.1196, allocations: 23.91 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.1197, allocations: 61.44 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1199, allocations: 107.9 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1199, allocations: 0 / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1199, allocations: 0 / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1199, allocations: 0 / 475.2 MB, free: 10.4 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.0005501/0.1205, allocations: 395.1 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1205, allocations: 8.031 kB / 475.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.1206, allocations: 42.73 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.1206, allocations: 12.75 kB / 475.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1209, allocations: 200.1 kB / 475.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1209, allocations: 8.375 kB / 475.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1209, allocations: 3.938 kB / 475.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1211, allocations: 57.67 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1211, allocations: 3.938 kB / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1211, allocations: 4 kB / 475.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1211, allocations: 0 / 475.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.1212, allocations: 23.92 kB / 475.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.1216, allocations: 284.9 kB / 476.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1218, allocations: 58.69 kB / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1218, allocations: 24.84 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1219, allocations: 0 / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.1221, allocations: 75.27 kB / 476.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1221, allocations: 0 / 476.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005422/0.1226, allocations: 169.2 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1227, allocations: 51.41 kB / 476.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1229, allocations: 194.1 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1229, allocations: 29.7 kB / 476.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.123, allocations: 104.1 kB / 476.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.123, allocations: 19.72 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.123, allocations: 13.72 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1231, allocations: 322.8 kB / 477.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.1232, allocations: 23.98 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.1233, allocations: 37.7 kB / 477.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1234, allocations: 65.64 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1234, allocations: 0 / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.1236, allocations: 97.48 kB / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1236, allocations: 11.94 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1236, allocations: 0 / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1236, allocations: 0 / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.1237, allocations: 15.98 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1238, allocations: 8.031 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.1238, allocations: 7.938 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1238, allocations: 4.375 kB / 477.5 MB, free: 7.828 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.898e-05/0.1239, allocations: 121.8 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.124, allocations: 11.91 kB / 477.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.124, allocations: 12.72 kB / 477.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.124, allocations: 0 / 477.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.124, allocations: 7.984 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.124, allocations: 7.922 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.1245, allocations: 395.7 kB / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1245, allocations: 0 / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.1245, allocations: 15.88 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1245, allocations: 3.938 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1245, allocations: 4 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1245, allocations: 80 / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1245, allocations: 3.984 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1248, allocations: 208.2 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1248, allocations: 92.95 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1249, allocations: 3.938 kB / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.1249, allocations: 7.984 kB / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.125, allocations: 4 kB / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.125, allocations: 8 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1251, allocations: 151.1 kB / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1251, allocations: 0 / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1254, allocations: 24 kB / 478.6 MB, free: 6.656 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.001476/0.1269, allocations: 1.096 MB / 479.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.1271, allocations: 63.91 kB / 479.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1271, allocations: 0 / 479.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.1272, allocations: 27.92 kB / 479.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1275, allocations: 30.77 kB / 479.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1292, allocations: 1.646 MB / 481.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.1295, allocations: 0.7004 MB / 482.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.709e-05/0.1295, allocations: 16.86 kB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.1296, allocations: 35.42 kB / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1296, allocations: 0 / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.1432, allocations: 2.948 MB / 485.2 MB, free: 264 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.1435, allocations: 238 kB / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.848, allocations: 0 / 485.4 MB, free: 8 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches