Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, 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.001291/0.001291, 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.358/1.358, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 84.14 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.103, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003133/0.1062, allocations: 1.736 MB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1078, allocations: 1.037 MB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.1079, allocations: 3.938 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1082, allocations: 27.83 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.1085, allocations: 103.5 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1087, allocations: 83.66 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1089, allocations: 103.7 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.109, allocations: 11.98 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.563e-05/0.1091, allocations: 43.78 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.1092, allocations: 47.72 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1092, allocations: 4 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1094, allocations: 115.9 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1095, allocations: 23.86 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.1096, allocations: 31.8 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.1099, allocations: 171.8 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1099, allocations: 3.984 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1099, allocations: 0 / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1099, allocations: 0 / 483.7 MB, free: 1.617 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.0005254/0.1104, allocations: 431 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1105, allocations: 8.031 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.1105, allocations: 34.75 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1106, allocations: 12.84 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.1108, allocations: 216 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1108, allocations: 8.344 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1108, allocations: 11.94 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.111, allocations: 63.39 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.111, allocations: 0 / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.111, allocations: 4 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1111, allocations: 3.938 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.1111, allocations: 23.92 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.1115, allocations: 280.8 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1117, allocations: 66.61 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.1117, allocations: 24.97 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1117, allocations: 8 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.1119, allocations: 71.33 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.1119, allocations: 0 / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005875/0.1125, allocations: 205.2 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1126, allocations: 77.11 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1128, allocations: 173.2 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1128, allocations: 25.7 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.1128, allocations: 104.1 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.1129, allocations: 27.56 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.1129, allocations: 29.7 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1131, allocations: 322.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.1131, allocations: 35.98 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.283e-05/0.1132, allocations: 54.5 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1134, allocations: 81.72 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1134, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002224/0.1136, allocations: 129.3 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1136, allocations: 8 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1136, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1137, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1138, allocations: 19.98 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1138, allocations: 7.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.1139, allocations: 8.031 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1139, allocations: 4 kB / 486.2 MB, free: 14.83 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 (13): * Single equations (assignments): 13 * 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.0001017/0.114, allocations: 121.8 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.114, allocations: 11.89 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1141, allocations: 16.72 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1141, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1141, allocations: 8.031 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1141, allocations: 3.938 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.1146, allocations: 431.1 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1146, allocations: 3.938 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.1147, allocations: 11.98 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1147, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1147, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1147, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1147, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.115, allocations: 220.2 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.115, allocations: 88.95 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1151, allocations: 8 kB / 487.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.1151, allocations: 3.984 kB / 487.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.1152, allocations: 7.984 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1152, allocations: 4 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1153, allocations: 144.5 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1153, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1157, allocations: 48 kB / 487.3 MB, free: 13.61 MB / 366.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 (10): * Single equations (assignments): 8 * 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.001567/0.1172, allocations: 1.207 MB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1175, allocations: 83.91 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1175, allocations: 0 / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.1176, allocations: 35.92 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1179, allocations: 43.88 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.1197, allocations: 1.649 MB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.12, allocations: 0.7046 MB / 491 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.263e-05/0.1201, allocations: 24.61 kB / 491 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.1201, allocations: 35.42 kB / 491.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1201, allocations: 0 / 491.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.1406, allocations: 4.145 MB / 495.2 MB, free: 5.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.737, allocations: 7.922 kB / 495.2 MB, free: 5.809 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches