Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001412, allocations: 104.7 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 75.5 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1228, allocations: 62.45 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003544/0.1263, allocations: 2.003 MB / 481.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1282, allocations: 1.037 MB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1284, allocations: 0 / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1287, allocations: 39.8 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.1291, allocations: 91.67 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1294, allocations: 75.84 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.1297, allocations: 143.6 kB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1298, allocations: 33.47 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.1299, allocations: 55.78 kB / 483.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.13, allocations: 51.66 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.13, allocations: 8 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1301, allocations: 51.97 kB / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.1302, allocations: 23.92 kB / 483.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.1303, allocations: 55.61 kB / 483.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1305, allocations: 155.7 kB / 483.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1305, allocations: 0 / 483.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1305, allocations: 0 / 483.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1305, allocations: 0 / 483.4 MB, free: 1.684 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.0005547/0.1311, allocations: 476.5 kB / 483.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1311, allocations: 12.03 kB / 483.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.1312, allocations: 38.73 kB / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.1312, allocations: 20.69 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1315, allocations: 241.5 kB / 484.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1315, allocations: 4.375 kB / 484.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1315, allocations: 11.94 kB / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.1317, allocations: 112.2 kB / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1317, allocations: 0 / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1318, allocations: 3.938 kB / 484.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.1318, allocations: 4 kB / 484.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1319, allocations: 43.97 kB / 484.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.1325, allocations: 0.5087 MB / 484.9 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.1328, allocations: 86.66 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.133, allocations: 36.84 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.133, allocations: 8 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.1332, allocations: 83.3 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.1332, allocations: 0 / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003681/0.1336, allocations: 149.3 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1337, allocations: 55.41 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1338, allocations: 198.2 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1339, allocations: 25.7 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.1339, allocations: 120 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.134, allocations: 31.59 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.134, allocations: 29.7 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.1341, allocations: 326.8 kB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-05/0.1342, allocations: 27.98 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.1343, allocations: 68.2 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1345, allocations: 104.5 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1345, allocations: 0 / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002677/0.1348, allocations: 133.3 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1348, allocations: 4 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1348, allocations: 4 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1349, allocations: 3.938 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.135, allocations: 27.92 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.135, allocations: 128 / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/0.135, allocations: 19.92 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1351, allocations: 11.98 kB / 486.4 MB, free: 14.41 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 9.787e-05/0.1352, allocations: 124.3 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1352, allocations: 15.75 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.1352, allocations: 21.39 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1353, allocations: 3.938 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1353, allocations: 4 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1353, allocations: 0 / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1354, allocations: 213.5 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1354, allocations: 7.984 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.1355, allocations: 15.94 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1355, allocations: 0 / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1356, allocations: 0 / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.1356, allocations: 7.938 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1356, allocations: 0 / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.1359, allocations: 185 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.136, allocations: 88.98 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.136, allocations: 3.938 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.1361, allocations: 15.92 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.1361, allocations: 4 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1362, allocations: 4 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1363, allocations: 148.4 kB / 487.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1363, allocations: 0 / 487.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1365, allocations: 24 kB / 487.3 MB, free: 13.45 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.001325/0.1379, allocations: 1.016 MB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1381, allocations: 91.95 kB / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1381, allocations: 0 / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.486e-05/0.1382, allocations: 35.92 kB / 488.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1385, allocations: 44.27 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1403, allocations: 1.77 MB / 490.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1406, allocations: 0.7161 MB / 490.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.992e-05/0.1406, allocations: 17.42 kB / 490.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.1407, allocations: 47.42 kB / 491 MB, free: 9.699 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1407, allocations: 0 / 491 MB, free: 9.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.891/2.032, allocations: 3.614 MB / 494.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/2.032, allocations: 236.7 kB / 494.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/4.044, allocations: 0 / 494.8 MB, free: 5.938 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches