Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.00143/0.00143, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.00164/0.00164, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.529/1.529, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2074/0.2074, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.28 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003101/0.1228, allocations: 1.76 MB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1242, allocations: 0.8575 MB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.1243, allocations: 0 / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.1246, allocations: 39.83 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1248, allocations: 47.83 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1251, allocations: 94.91 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1253, allocations: 99.69 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.1254, allocations: 8.234 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.501e-05/0.1255, allocations: 47.72 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.1255, allocations: 23.86 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1256, allocations: 4 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1257, allocations: 43.98 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.1257, allocations: 27.91 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.1258, allocations: 31.8 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.126, allocations: 107.9 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.126, allocations: 4 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.126, allocations: 0 / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1261, allocations: 0 / 472 MB, free: 11.43 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.0005589/0.1266, allocations: 418 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1267, allocations: 8.031 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.1267, allocations: 30.75 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.1268, allocations: 20.83 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.127, allocations: 207.8 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1271, allocations: 384 / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.1271, allocations: 7.938 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1273, allocations: 57.61 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1273, allocations: 0 / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1273, allocations: 3.984 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.1273, allocations: 0 / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.1274, allocations: 23.98 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1278, allocations: 280.9 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.128, allocations: 62.61 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.128, allocations: 20.84 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1281, allocations: 0 / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.1283, allocations: 75.3 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1283, allocations: 0 / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000571/0.1289, allocations: 173.3 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1289, allocations: 51.41 kB / 473.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1291, allocations: 174.2 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1292, allocations: 25.7 kB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.1292, allocations: 100.1 kB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.1293, allocations: 27.66 kB / 473.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.1293, allocations: 25.7 kB / 473.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1295, allocations: 318.8 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.1295, allocations: 20 kB / 474.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.1296, allocations: 41.64 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1297, allocations: 62.06 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1298, allocations: 4 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.13, allocations: 101.4 kB / 474.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.13, allocations: 11.98 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.13, allocations: 4 kB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.13, allocations: 0 / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.1301, allocations: 12 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.1301, allocations: 4 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.1302, allocations: 8.125 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1302, allocations: 7.984 kB / 474.4 MB, free: 8.848 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.841e-05/0.1303, allocations: 129.8 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1303, allocations: 7.906 kB / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.1304, allocations: 16.7 kB / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1304, allocations: 4 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1304, allocations: 0 / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1304, allocations: 3.938 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.1309, allocations: 391.3 kB / 474.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1309, allocations: 0 / 474.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.131, allocations: 8 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.131, allocations: 3.938 kB / 474.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.131, allocations: 4 kB / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.131, allocations: 3.984 kB / 474.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.131, allocations: 0 / 474.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.1313, allocations: 208.4 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.1313, allocations: 85.02 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1313, allocations: 3.938 kB / 475.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.1314, allocations: 8 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1315, allocations: 7.984 kB / 475.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1315, allocations: 3.984 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1316, allocations: 136.7 kB / 475.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1316, allocations: 0 / 475.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1319, allocations: 31.98 kB / 475.4 MB, free: 7.703 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.001622/0.1335, allocations: 1.101 MB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1337, allocations: 55.97 kB / 476.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1337, allocations: 3.938 kB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/0.1338, allocations: 31.92 kB / 476.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1341, allocations: 31.92 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.136, allocations: 1.613 MB / 478.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.1365, allocations: 0.7079 MB / 478.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.598e-05/0.1366, allocations: 21.17 kB / 479 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.1367, allocations: 31.42 kB / 479 MB, free: 4.145 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1367, allocations: 4 kB / 479 MB, free: 4.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.157, allocations: 3.138 MB / 482.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003904/0.1575, allocations: 235.1 kB / 482.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.072, allocations: 0 / 482.4 MB, free: 0.8555 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches