Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 95.94 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 206.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.0002643, allocations: 8.375 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002205/0.1291, allocations: 1.407 MB / 484.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1307, allocations: 0.9746 MB / 485.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.1309, allocations: 0 / 485.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.1312, allocations: 59.8 kB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.1315, allocations: 87.72 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1317, allocations: 59.88 kB / 485.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1319, allocations: 103.6 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.1319, allocations: 8.234 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.713e-05/0.132, allocations: 43.78 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.1321, allocations: 39.83 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1321, allocations: 4 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-05/0.1322, allocations: 35.92 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.1323, allocations: 23.91 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.1324, allocations: 57.39 kB / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1325, allocations: 103.9 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1326, allocations: 4 kB / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1326, allocations: 0 / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1326, allocations: 0 / 486.2 MB, free: 1.039 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.0004247/0.133, allocations: 395.1 kB / 486.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.133, allocations: 12.86 kB / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.1331, allocations: 30.75 kB / 486.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1331, allocations: 12.84 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1333, allocations: 218.5 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1334, allocations: 4.375 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1334, allocations: 3.938 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1335, allocations: 49.67 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.1335, allocations: 0 / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1335, allocations: 0 / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1336, allocations: 0 / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.1336, allocations: 12 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.1338, allocations: 185.7 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.134, allocations: 62.5 kB / 487.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.134, allocations: 20.84 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1341, allocations: 3.984 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.1342, allocations: 63.39 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.1342, allocations: 0 / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002553/0.1345, allocations: 105.4 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1345, allocations: 51.41 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1347, allocations: 190.9 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1347, allocations: 29.7 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.1348, allocations: 100.1 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1348, allocations: 7.906 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.1349, allocations: 13.72 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.135, allocations: 326.8 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.135, allocations: 19.98 kB / 488.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-05/0.1351, allocations: 25.7 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1352, allocations: 41.66 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1352, allocations: 7.938 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001512/0.1354, allocations: 81.8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1354, allocations: 4 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1354, allocations: 4 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.1354, allocations: 4.031 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.1355, allocations: 15.94 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1355, allocations: 0 / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.1355, allocations: 7.984 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1356, allocations: 7.938 kB / 488.3 MB, free: 14.72 MB / 366.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.349e-05/0.1357, allocations: 125.8 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.1357, allocations: 15.75 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1357, allocations: 16.98 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1357, allocations: 4 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1357, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1358, allocations: 4 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.1359, allocations: 189.5 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1359, allocations: 4 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.1359, allocations: 0 / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1359, allocations: 4 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1359, allocations: 0 / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.136, allocations: 0 / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.136, allocations: 0 / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.1361, allocations: 116.9 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.1362, allocations: 85.02 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1362, allocations: 3.984 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.1363, allocations: 4 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.1363, allocations: 0 / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1363, allocations: 8 kB / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1364, allocations: 148.7 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1364, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1367, allocations: 27.89 kB / 489 MB, free: 13.89 MB / 366.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.001207/0.1379, allocations: 0.9522 MB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.138, allocations: 39.98 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.138, allocations: 64 / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.1381, allocations: 23.94 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1384, allocations: 23.97 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1399, allocations: 1.513 MB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.1401, allocations: 0.6965 MB / 492.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.1402, allocations: 28.62 kB / 492.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.1402, allocations: 35.42 kB / 492.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1402, allocations: 0 / 492.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.154, allocations: 2.715 MB / 495 MB, free: 7.988 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/0.1543, allocations: 237.2 kB / 495.3 MB, free: 7.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/1.927, allocations: 0 / 495.3 MB, free: 7.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches