Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.001595/0.001595, 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.001848/0.001848, 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.422/1.422, 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.2199/0.2199, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 60.12 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002858/0.1213, allocations: 1.66 MB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1227, allocations: 0.8535 MB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.1228, allocations: 0 / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1231, allocations: 67.72 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1233, allocations: 67.73 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1237, allocations: 107.6 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1239, allocations: 95.69 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.969e-05/0.1239, allocations: 11.98 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.124, allocations: 47.78 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1242, allocations: 43.83 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1242, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.1243, allocations: 28 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.1244, allocations: 19.92 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.1244, allocations: 31.75 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1247, allocations: 111.8 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1247, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1247, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1247, allocations: 4 kB / 472.5 MB, free: 11.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006468/0.1254, allocations: 398 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1254, allocations: 8.031 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.1254, allocations: 34.75 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.1255, allocations: 8.844 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1257, allocations: 208.1 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1258, allocations: 384 / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1258, allocations: 7.938 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1259, allocations: 57.61 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.126, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.126, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.126, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.1261, allocations: 15.98 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.1263, allocations: 181.6 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1264, allocations: 62.48 kB / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.1265, allocations: 24.84 kB / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1265, allocations: 0 / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.1268, allocations: 67.33 kB / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1268, allocations: 0 / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002679/0.127, allocations: 97.56 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1271, allocations: 51.41 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1273, allocations: 186.1 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1273, allocations: 25.7 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.1274, allocations: 108.1 kB / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1274, allocations: 7.812 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1275, allocations: 21.7 kB / 474 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1276, allocations: 322.8 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.1276, allocations: 15.98 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.1277, allocations: 37.7 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.453e-05/0.1278, allocations: 37.97 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1278, allocations: 7.922 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001517/0.128, allocations: 85.53 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.128, allocations: 4 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.128, allocations: 0 / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.128, allocations: 0 / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.1281, allocations: 8 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1281, allocations: 8.031 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.1282, allocations: 3.984 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1282, allocations: 7.938 kB / 474.6 MB, free: 8.789 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 (7): * Single equations (assignments): 7 * 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.4e-05/0.1283, allocations: 129.7 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1283, allocations: 11.81 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.1284, allocations: 12.3 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1284, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1284, allocations: 4 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1284, allocations: 0 / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1285, allocations: 193.5 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1285, allocations: 0 / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.1286, allocations: 7.984 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1286, allocations: 0 / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1286, allocations: 4 kB / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1286, allocations: 3.938 kB / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1286, allocations: 0 / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1288, allocations: 109 kB / 475 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.1288, allocations: 89.02 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1289, allocations: 0 / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.1289, allocations: 0 / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.129, allocations: 15.92 kB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.129, allocations: 4.125 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1291, allocations: 135.2 kB / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1291, allocations: 0 / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.1293, allocations: 19.98 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001413/0.1308, allocations: 0.9427 MB / 476.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.131, allocations: 43.92 kB / 476.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.131, allocations: 0 / 476.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.1311, allocations: 23.98 kB / 476.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1313, allocations: 28.3 kB / 476.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.1331, allocations: 1.481 MB / 477.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1335, allocations: 0.6963 MB / 478.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.722e-05/0.1335, allocations: 16.53 kB / 478.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.704e-05/0.1336, allocations: 31.42 kB / 478.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1336, allocations: 0 / 478.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.1561, allocations: 2.988 MB / 481.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.613, allocations: 9.047 kB / 481.6 MB, free: 1.805 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches