Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009035/0.0009035, allocations: 95.58 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.001048/0.001048, allocations: 205.6 kB / 18.28 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.294/1.294, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1848/0.1848, allocations: 46.18 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002245/0.0002245, allocations: 12 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09026, allocations: 63.57 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001911/0.09222, allocations: 1.45 MB / 484.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.09361, allocations: 0.9902 MB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.09367, allocations: 4 kB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.09394, allocations: 75.78 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.09418, allocations: 95.7 kB / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.09435, allocations: 71.8 kB / 485.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.09452, allocations: 107.7 kB / 486 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.09461, allocations: 16 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.0947, allocations: 43.78 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.0948, allocations: 59.75 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.09483, allocations: 4 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.614e-05/0.09492, allocations: 43.92 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.09498, allocations: 23.91 kB / 486.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.09504, allocations: 57.44 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.09522, allocations: 123.8 kB / 486.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.09523, allocations: 0 / 486.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.09524, allocations: 4 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.09525, allocations: 0 / 486.3 MB, free: 0.9062 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.0004184/0.09567, allocations: 409.3 kB / 486.7 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.09571, allocations: 8.875 kB / 486.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.09575, allocations: 30.75 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.09578, allocations: 16.75 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.09597, allocations: 216.5 kB / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.09599, allocations: 384 / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.09601, allocations: 7.938 kB / 487 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.09614, allocations: 61.61 kB / 487.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.09616, allocations: 0 / 487.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.09617, allocations: 0 / 487.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.09618, allocations: 4 kB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.523e-05/0.09625, allocations: 15.98 kB / 487.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.09657, allocations: 296.7 kB / 487.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.09674, allocations: 58.67 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.0968, allocations: 24.84 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.09682, allocations: 0 / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.09697, allocations: 67.33 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.836e-06/0.09698, allocations: 3.984 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004746/0.09746, allocations: 181.4 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.0975, allocations: 59.34 kB / 487.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.09771, allocations: 223.4 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.09773, allocations: 25.7 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.09779, allocations: 104.1 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.09782, allocations: 31.62 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.09786, allocations: 13.72 kB / 488.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.09795, allocations: 326.8 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.09802, allocations: 27.98 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.09809, allocations: 33.7 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.09821, allocations: 65.64 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.09822, allocations: 0 / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.0984, allocations: 93.66 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.09842, allocations: 4 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.09843, allocations: 8.031 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.09845, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.09853, allocations: 23.92 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.09854, allocations: 0 / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.0986, allocations: 7.938 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.09861, allocations: 4 kB / 488.7 MB, free: 14.25 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 (10): * Single equations (assignments): 10 * 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.004e-05/0.09871, allocations: 136.6 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.09873, allocations: 15.81 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.09878, allocations: 17.39 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.09879, allocations: 4 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.0988, allocations: 0 / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.09881, allocations: 11.88 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.09921, allocations: 399.5 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.09922, allocations: 0 / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.09926, allocations: 8 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.09927, allocations: 3.938 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.09928, allocations: 4 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.09929, allocations: 4.031 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0993, allocations: 3.938 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.09951, allocations: 200.2 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.09957, allocations: 96.91 kB / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.0996, allocations: 7.938 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.09968, allocations: 0 / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.09972, allocations: 15.97 kB / 489.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.09973, allocations: 4 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.09987, allocations: 165.2 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09988, allocations: 0 / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1001, allocations: 27.98 kB / 489.8 MB, free: 13.05 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 (8): * Single equations (assignments): 6 * 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.001304/0.1015, allocations: 1.084 MB / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1016, allocations: 59.91 kB / 491 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1016, allocations: 4.062 kB / 491 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.1017, allocations: 27.98 kB / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.102, allocations: 35.48 kB / 491.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1036, allocations: 1.734 MB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1039, allocations: 0.7118 MB / 493.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.224e-05/0.1039, allocations: 16.88 kB / 493.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.123e-05/0.104, allocations: 35.42 kB / 493.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.104, allocations: 3.938 kB / 493.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.1155, allocations: 3.114 MB / 496.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.1157, allocations: 236.8 kB / 496.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.856, allocations: 0 / 496.9 MB, free: 6.117 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches