Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.001304/0.001304, allocations: 106.8 kB / 15.99 MB, free: 6.781 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.001178/0.001178, allocations: 199.5 kB / 16.91 MB, free: 6.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.1 MB / 222.8 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3757/0.3757, allocations: 43.49 MB / 313.6 MB, free: 8.527 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 68.47 kB / 382.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1181, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003385/0.1216, allocations: 1.753 MB / 441.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1228, allocations: 0.7885 MB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.1229, allocations: 8 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1233, allocations: 83.81 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1235, allocations: 71.73 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1238, allocations: 79.83 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.124, allocations: 103.7 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1241, allocations: 16.22 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1243, allocations: 55.77 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1244, allocations: 63.81 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.1244, allocations: 4 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1245, allocations: 35.98 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.1246, allocations: 27.86 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1247, allocations: 43.66 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1249, allocations: 123.9 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1249, allocations: 3.938 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1249, allocations: 0 / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1249, allocations: 0 / 443.4 MB, free: 11.34 MB / 382.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.0005147/0.1254, allocations: 430.2 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1255, allocations: 11.89 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.1255, allocations: 34.75 kB / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.1256, allocations: 12.83 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1258, allocations: 219.9 kB / 444.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1258, allocations: 384 / 444.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.1258, allocations: 11.92 kB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.126, allocations: 53.67 kB / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.126, allocations: 0 / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.126, allocations: 0 / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.126, allocations: 8 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.1261, allocations: 15.98 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.1265, allocations: 292.9 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1267, allocations: 58.61 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.1267, allocations: 24.84 kB / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1268, allocations: 0 / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.127, allocations: 71.39 kB / 444.6 MB, free: 9.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.127, allocations: 0 / 444.6 MB, free: 9.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005674/0.1276, allocations: 177.1 kB / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1276, allocations: 51.41 kB / 444.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1278, allocations: 226.6 kB / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1278, allocations: 29.7 kB / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.1279, allocations: 104.1 kB / 445.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.128, allocations: 27.59 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.128, allocations: 29.7 kB / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1281, allocations: 322.8 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.1282, allocations: 23.98 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.084e-05/0.1282, allocations: 33.7 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1284, allocations: 61.7 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1284, allocations: 0 / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.1286, allocations: 105.4 kB / 445.7 MB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1286, allocations: 8 kB / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1286, allocations: 3.938 kB / 445.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1286, allocations: 192 / 445.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.1287, allocations: 15.98 kB / 445.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1287, allocations: 15.91 kB / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1288, allocations: 3.938 kB / 445.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1288, allocations: 4 kB / 445.8 MB, free: 8.664 MB / 382.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.422e-05/0.1289, allocations: 129.8 kB / 445.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.1289, allocations: 7.906 kB / 445.9 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.129, allocations: 17.41 kB / 445.9 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.129, allocations: 0 / 445.9 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.129, allocations: 0 / 445.9 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.129, allocations: 7.922 kB / 446 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.1294, allocations: 407.4 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1295, allocations: 0 / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.1295, allocations: 8 kB / 446.4 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1295, allocations: 3.938 kB / 446.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1295, allocations: 4 kB / 446.4 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1295, allocations: 8.359 kB / 446.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1295, allocations: 0 / 446.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.1298, allocations: 200.3 kB / 446.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.1298, allocations: 92.92 kB / 446.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1298, allocations: 7.938 kB / 446.7 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.1299, allocations: 4 kB / 446.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.13, allocations: 7.984 kB / 446.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.13, allocations: 4 kB / 446.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1301, allocations: 172.3 kB / 446.9 MB, free: 7.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1301, allocations: 4 kB / 446.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1304, allocations: 24 kB / 446.9 MB, free: 7.469 MB / 382.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.00141/0.1318, allocations: 1.113 MB / 448 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.132, allocations: 55.91 kB / 448 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.132, allocations: 0 / 448 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.1321, allocations: 31.98 kB / 448.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1324, allocations: 39.91 kB / 448.1 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1341, allocations: 1.731 MB / 449.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1344, allocations: 0.7119 MB / 450.6 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.1345, allocations: 20.86 kB / 450.6 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.1345, allocations: 35.42 kB / 450.6 MB, free: 3.633 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1345, allocations: 3.938 kB / 450.6 MB, free: 3.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.1488, allocations: 3.358 MB / 454 MB, free: 256 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2095/0.3583, allocations: 238.6 kB / 454.2 MB, free: 51.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.168, allocations: 0 / 454.2 MB, free: 51.47 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches