Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000876/0.000876, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 246.8 MB, free: 9.582 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1849/0.1849, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002482, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09119, allocations: 63.57 MB / 483.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00171/0.09293, allocations: 1.407 MB / 484.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.09446, allocations: 0.9668 MB / 485.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.09456, allocations: 4 kB / 485.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.09485, allocations: 59.8 kB / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.09513, allocations: 87.72 kB / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.09533, allocations: 63.86 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.09551, allocations: 99.64 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.09557, allocations: 16.2 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.09567, allocations: 35.8 kB / 485.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.777e-05/0.09578, allocations: 51.81 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.0958, allocations: 0 / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.09589, allocations: 28 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.09595, allocations: 19.86 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.09602, allocations: 61.44 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.09619, allocations: 99.91 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.09621, allocations: 4 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09621, allocations: 0 / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.09622, allocations: 0 / 486.2 MB, free: 1.012 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.000455/0.09669, allocations: 395.1 kB / 486.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.09673, allocations: 12.88 kB / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.09677, allocations: 34.75 kB / 486.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.09681, allocations: 8.844 kB / 486.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.09701, allocations: 218.5 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.09703, allocations: 384 / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.09705, allocations: 11.94 kB / 486.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.09718, allocations: 49.67 kB / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.0972, allocations: 0 / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.09721, allocations: 0 / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.09722, allocations: 0 / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.347e-05/0.09729, allocations: 15.97 kB / 486.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.09748, allocations: 185.8 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.09764, allocations: 62.48 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.0977, allocations: 16.86 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.09773, allocations: 0 / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.09789, allocations: 71.38 kB / 487.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.0979, allocations: 0 / 487.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002563/0.09817, allocations: 97.42 kB / 487.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.09821, allocations: 55.41 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.09839, allocations: 190.9 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.09841, allocations: 25.7 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.09847, allocations: 104.1 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.09851, allocations: 7.906 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.09854, allocations: 13.72 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.09865, allocations: 326.8 kB / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.0987, allocations: 15.98 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-05/0.09877, allocations: 29.72 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.948e-05/0.09887, allocations: 41.95 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.09889, allocations: 7.875 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001583/0.09905, allocations: 89.5 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.09907, allocations: 6.5 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.09909, allocations: 3.984 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.0991, allocations: 4.031 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.09918, allocations: 11.94 kB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.0992, allocations: 4 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.09925, allocations: 0 / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.09926, allocations: 4 kB / 488.3 MB, free: 14.69 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.629e-05/0.09936, allocations: 125.8 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.09939, allocations: 11.81 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.09943, allocations: 24.92 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.09944, allocations: 0 / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.09945, allocations: 4 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.09946, allocations: 0 / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.0996, allocations: 193.4 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.09961, allocations: 0 / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.09964, allocations: 4 kB / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.09965, allocations: 0 / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.09966, allocations: 3.984 kB / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.09967, allocations: 0 / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.09967, allocations: 0 / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.09986, allocations: 120.9 kB / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.09991, allocations: 85.02 kB / 488.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.09994, allocations: 4 kB / 488.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.09999, allocations: 3.984 kB / 488.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.1, allocations: 4 kB / 488.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1, allocations: 0 / 488.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1002, allocations: 152.7 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1002, allocations: 4 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.1004, allocations: 15.91 kB / 489 MB, free: 13.86 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.001204/0.1016, allocations: 0.9498 MB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.1018, allocations: 35.98 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1018, allocations: 0 / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.502e-05/0.1018, allocations: 27.98 kB / 490 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1021, allocations: 35.83 kB / 490 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1036, allocations: 1.513 MB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1039, allocations: 0.7043 MB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.437e-05/0.1039, allocations: 12.42 kB / 492.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.104, allocations: 27.42 kB / 492.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.104, allocations: 0 / 492.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.1156, allocations: 2.724 MB / 495 MB, free: 7.953 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.1158, allocations: 232.4 kB / 495.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.776, allocations: 0 / 495.3 MB, free: 7.703 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches