Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.001124/0.001124, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001157/0.001157, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.378/1.378, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2177/0.2177, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 65.72 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1147, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003345/0.118, allocations: 1.711 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1195, allocations: 0.873 MB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.1196, allocations: 0 / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1199, allocations: 43.77 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1201, allocations: 55.75 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1205, allocations: 110.9 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1206, allocations: 95.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.1207, allocations: 12.2 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.1208, allocations: 39.8 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.1209, allocations: 31.84 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.121, allocations: 8 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1211, allocations: 43.92 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.1211, allocations: 19.92 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.1212, allocations: 39.67 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1214, allocations: 115.9 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1214, allocations: 0 / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1214, allocations: 0 / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1214, allocations: 0 / 472.6 MB, free: 11.07 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.0006401/0.1221, allocations: 403 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1221, allocations: 16.03 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.1222, allocations: 34.75 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.1222, allocations: 16.69 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1224, allocations: 204.1 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1225, allocations: 4.375 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1225, allocations: 7.938 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1226, allocations: 53.67 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1227, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1227, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1227, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.1228, allocations: 23.98 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.1231, allocations: 288.8 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1233, allocations: 58.67 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.1234, allocations: 20.8 kB / 473.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1234, allocations: 7.984 kB / 473.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.1236, allocations: 71.33 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1236, allocations: 0 / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005337/0.1242, allocations: 169.2 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1242, allocations: 55.39 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1244, allocations: 190.1 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1244, allocations: 25.7 kB / 474.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.1245, allocations: 108.1 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1245, allocations: 23.7 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.1246, allocations: 25.72 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1247, allocations: 322.8 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.1248, allocations: 19.98 kB / 474.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.1248, allocations: 37.7 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.125, allocations: 57.66 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.125, allocations: 0 / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.1252, allocations: 109.5 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1252, allocations: 4.188 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1252, allocations: 0 / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1252, allocations: 3.938 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.1253, allocations: 19.94 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1253, allocations: 0 / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.1254, allocations: 11.95 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1254, allocations: 4 kB / 474.9 MB, free: 8.473 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.155e-05/0.1255, allocations: 121.8 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.1255, allocations: 11.91 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.1256, allocations: 16.7 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1256, allocations: 0 / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1256, allocations: 0 / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1256, allocations: 7.922 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1261, allocations: 395.3 kB / 475.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1261, allocations: 0 / 475.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1261, allocations: 11.98 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1261, allocations: 3.938 kB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1261, allocations: 4 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1261, allocations: 3.938 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1262, allocations: 3.938 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.1264, allocations: 204.2 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.1264, allocations: 85.02 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1265, allocations: 7.922 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1265, allocations: 8 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.1266, allocations: 4 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1266, allocations: 8.359 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1267, allocations: 139.2 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1267, allocations: 0 / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.127, allocations: 31.98 kB / 475.9 MB, free: 7.316 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.001502/0.1285, allocations: 1.09 MB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1287, allocations: 67.89 kB / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1287, allocations: 0 / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.978e-05/0.1288, allocations: 27.94 kB / 477.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.1291, allocations: 30.86 kB / 477.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1309, allocations: 1.639 MB / 478.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1312, allocations: 0.7002 MB / 479.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.1313, allocations: 17.17 kB / 479.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.1314, allocations: 31.42 kB / 479.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1314, allocations: 0 / 479.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.1534, allocations: 3.286 MB / 482.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.728, allocations: 12.34 kB / 482.8 MB, free: 0.5391 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches