Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.001734, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002538/0.002538, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.237/0.237, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 76.62 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 62.45 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003807/0.1211, allocations: 1.94 MB / 482.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.123, allocations: 1.056 MB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1231, allocations: 4 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.1235, allocations: 43.7 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.1239, allocations: 103.5 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1242, allocations: 91.66 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1245, allocations: 151.5 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1246, allocations: 21.55 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1247, allocations: 59.73 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.907e-05/0.1248, allocations: 51.7 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1249, allocations: 8 kB / 483.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.125, allocations: 47.98 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.1251, allocations: 23.91 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.1251, allocations: 51.61 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1254, allocations: 155.7 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1254, allocations: 0 / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1254, allocations: 4 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1255, allocations: 0 / 483.9 MB, free: 1.402 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007556/0.1262, allocations: 484.5 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1263, allocations: 8.031 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.1263, allocations: 38.75 kB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.1264, allocations: 20.69 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1267, allocations: 233.5 kB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1268, allocations: 8.375 kB / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1268, allocations: 11.94 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1271, allocations: 108.2 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1271, allocations: 0 / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1271, allocations: 4 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1271, allocations: 0 / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.1273, allocations: 55.91 kB / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.128, allocations: 0.5126 MB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.1283, allocations: 78.67 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1284, allocations: 48.81 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1285, allocations: 0 / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.1287, allocations: 91.25 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.1287, allocations: 0 / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004157/0.1292, allocations: 145.3 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1292, allocations: 59.41 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1294, allocations: 202.2 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1294, allocations: 25.7 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.1295, allocations: 120 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1296, allocations: 23.62 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.1296, allocations: 29.7 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1297, allocations: 322.8 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.811e-05/0.1298, allocations: 27.98 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1299, allocations: 72.2 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.1301, allocations: 96.2 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1302, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002747/0.1304, allocations: 141.3 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1305, allocations: 4 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.1305, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1305, allocations: 12.39 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.1306, allocations: 19.98 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1306, allocations: 12.06 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.1307, allocations: 11.94 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1307, allocations: 7.938 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001067/0.1308, allocations: 132.4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1308, allocations: 15.81 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.1309, allocations: 13.41 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1309, allocations: 7.938 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1309, allocations: 0 / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1309, allocations: 3.984 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1311, allocations: 217.5 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1311, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.1312, allocations: 15.94 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1312, allocations: 0 / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1312, allocations: 7.984 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1312, allocations: 3.938 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1312, allocations: 4 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.1316, allocations: 180.8 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.1317, allocations: 88.98 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1317, allocations: 7.984 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.1318, allocations: 7.938 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1318, allocations: 7.984 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1318, allocations: 4 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.132, allocations: 148.4 kB / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.132, allocations: 0 / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1322, allocations: 24 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001454/0.1337, allocations: 1.013 MB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.134, allocations: 91.95 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.134, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1341, allocations: 39.92 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.1344, allocations: 51.89 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1364, allocations: 1.729 MB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1366, allocations: 0.7161 MB / 491.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.911e-05/0.1367, allocations: 25.41 kB / 491.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.1368, allocations: 43.8 kB / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1368, allocations: 0 / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.1579, allocations: 3.724 MB / 495.2 MB, free: 5.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.372, allocations: 12.05 kB / 495.2 MB, free: 5.781 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches