Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.001238/0.001238, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001266/0.001266, allocations: 192 kB / 18.56 MB, free: 4.434 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.314/1.314, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.1969/0.1969, allocations: 44.19 MB / 336.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.27 kB / 408.5 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1075, allocations: 60.81 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004158/0.1117, allocations: 1.7 MB / 471.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1132, allocations: 0.8808 MB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.1133, allocations: 3.938 kB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1136, allocations: 35.83 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1139, allocations: 63.69 kB / 472 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1143, allocations: 110.4 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1145, allocations: 87.75 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1146, allocations: 20.16 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1147, allocations: 39.8 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.1148, allocations: 27.84 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1148, allocations: 4 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.115, allocations: 47.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.115, allocations: 19.92 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.1151, allocations: 35.73 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.1153, allocations: 111.9 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1153, allocations: 0 / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1153, allocations: 3.938 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1153, allocations: 0 / 472.5 MB, free: 11.04 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.0005352/0.1159, allocations: 413.9 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1159, allocations: 8.031 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.116, allocations: 38.75 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.116, allocations: 12.75 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1162, allocations: 204.1 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1162, allocations: 4.375 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1163, allocations: 3.938 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1164, allocations: 61.67 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1164, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1164, allocations: 3.938 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1164, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.1165, allocations: 27.98 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.1169, allocations: 280.9 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.117, allocations: 54.67 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.1171, allocations: 24.78 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1171, allocations: 0 / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.1173, allocations: 75.33 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1174, allocations: 0 / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005347/0.1179, allocations: 177.2 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.1179, allocations: 51.41 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1181, allocations: 186.1 kB / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1181, allocations: 29.7 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1182, allocations: 108.1 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1182, allocations: 23.7 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.1183, allocations: 21.72 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1184, allocations: 322.8 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.1185, allocations: 19.98 kB / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.1185, allocations: 37.7 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1187, allocations: 61.66 kB / 474.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1187, allocations: 0 / 474.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.1189, allocations: 105.4 kB / 474.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1189, allocations: 8 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1189, allocations: 0 / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1189, allocations: 0 / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.119, allocations: 20.17 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.119, allocations: 4 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.1191, allocations: 7.875 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1191, allocations: 8.031 kB / 474.9 MB, free: 8.445 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.057e-05/0.1192, allocations: 125.8 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1192, allocations: 11.91 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.1193, allocations: 12.72 kB / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1193, allocations: 8.297 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1193, allocations: 0 / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1193, allocations: 3.938 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.1197, allocations: 395.4 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1197, allocations: 3.938 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.1198, allocations: 12 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1198, allocations: 3.938 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1198, allocations: 4 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1198, allocations: 0 / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1198, allocations: 0 / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1201, allocations: 204.5 kB / 475.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.1201, allocations: 96.94 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1201, allocations: 3.938 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1202, allocations: 4 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.1203, allocations: 7.922 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1203, allocations: 8 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1204, allocations: 143.2 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1204, allocations: 0 / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1207, allocations: 27.98 kB / 475.9 MB, free: 7.281 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.001475/0.1222, allocations: 1.085 MB / 477 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1224, allocations: 67.89 kB / 477.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1224, allocations: 0 / 477.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.1225, allocations: 27.92 kB / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1228, allocations: 27.92 kB / 477.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1247, allocations: 1.627 MB / 478.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1249, allocations: 0.708 MB / 479.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.866e-05/0.125, allocations: 17.17 kB / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.1251, allocations: 35.42 kB / 479.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1251, allocations: 0 / 479.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.1469, allocations: 3.296 MB / 482.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/7.725, allocations: 17.86 kB / 482.9 MB, free: 0.5 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches