Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.001222/0.001222, 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.001394/0.001394, 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.331/1.331, 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.2019/0.2019, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.75 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1108, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002899/0.1138, allocations: 1.699 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1152, allocations: 0.8808 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.1152, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1155, allocations: 47.75 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1158, allocations: 63.75 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1161, allocations: 119.5 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.1163, allocations: 91.7 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1164, allocations: 12.22 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.1165, allocations: 43.78 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.1166, allocations: 31.84 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1166, allocations: 11.94 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.255e-05/0.1167, allocations: 39.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.1168, allocations: 27.91 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.1168, allocations: 39.69 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.117, allocations: 127.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.117, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.117, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1171, allocations: 0 / 472.6 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.0005195/0.1176, allocations: 445.6 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1176, allocations: 16.03 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1177, allocations: 38.67 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.1177, allocations: 12.75 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.1179, allocations: 212 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1179, allocations: 8.359 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.118, allocations: 7.938 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1181, allocations: 53.67 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1181, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1181, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1181, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.1182, allocations: 27.92 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.1186, allocations: 288.9 kB / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1188, allocations: 54.67 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.1188, allocations: 24.84 kB / 473.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1189, allocations: 8 kB / 473.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.1191, allocations: 67.33 kB / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.1191, allocations: 0 / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.1197, allocations: 189 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.1197, allocations: 51.41 kB / 474.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.12, allocations: 266.9 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.12, allocations: 33.7 kB / 474.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.1201, allocations: 112.1 kB / 474.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.1201, allocations: 19.7 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.1202, allocations: 29.7 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1203, allocations: 322.8 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.1204, allocations: 27.92 kB / 474.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.395e-05/0.1204, allocations: 33.66 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1206, allocations: 73.7 kB / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1206, allocations: 0 / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.1207, allocations: 101.5 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1208, allocations: 4 kB / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1208, allocations: 0 / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1208, allocations: 0 / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.1209, allocations: 19.94 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1209, allocations: 0 / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.121, allocations: 19.89 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.121, allocations: 4 kB / 475.1 MB, free: 8.27 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 0.0001052/0.1211, allocations: 133.8 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1211, allocations: 15.81 kB / 475.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.1212, allocations: 17.41 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1212, allocations: 3.984 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1212, allocations: 0 / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1212, allocations: 7.922 kB / 475.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.1216, allocations: 403.3 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1216, allocations: 0 / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.1217, allocations: 15.92 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1217, allocations: 3.938 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1217, allocations: 4 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1217, allocations: 0 / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1217, allocations: 0 / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1219, allocations: 212.6 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.122, allocations: 88.92 kB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.122, allocations: 7.922 kB / 476 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.1221, allocations: 4 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1221, allocations: 8 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1222, allocations: 7.984 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1223, allocations: 196.2 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1223, allocations: 0 / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1226, allocations: 24 kB / 476.2 MB, free: 7.035 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.001375/0.124, allocations: 1.106 MB / 477.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.1242, allocations: 59.92 kB / 477.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1242, allocations: 0 / 477.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.1243, allocations: 31.92 kB / 477.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1247, allocations: 31.48 kB / 477.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1264, allocations: 1.806 MB / 479.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1267, allocations: 0.7185 MB / 480 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.266e-05/0.1268, allocations: 13.19 kB / 480 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1268, allocations: 39.42 kB / 480 MB, free: 3.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1268, allocations: 0 / 480 MB, free: 3.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.1453, allocations: 3.624 MB / 483.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.691, allocations: 11.98 kB / 483.7 MB, free: 15.72 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches