Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001837, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2627/0.2627, allocations: 46.13 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002581/0.002581, allocations: 80.09 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3881, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003667/0.3918, allocations: 1.725 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3937, allocations: 1.022 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.3938, allocations: 5.312 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.3941, allocations: 48.12 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.3944, allocations: 92.47 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.3946, allocations: 74.94 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3948, allocations: 108.9 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.3949, allocations: 10.88 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.395, allocations: 38.91 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.3951, allocations: 38.78 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3951, allocations: 4.125 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3952, allocations: 43.42 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.3953, allocations: 18.8 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.3954, allocations: 41.34 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3956, allocations: 130 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3956, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3956, allocations: 1.156 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.3956, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.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.0005896/0.3962, allocations: 425.3 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3963, allocations: 9.938 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.3963, allocations: 32.03 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.3964, allocations: 14.02 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3967, allocations: 229.5 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3967, allocations: 1.688 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3967, allocations: 5.344 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3969, allocations: 54.7 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3969, allocations: 0 / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3969, allocations: 5.266 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3969, allocations: 3.938 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.397, allocations: 18.42 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.3974, allocations: 303.5 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3976, allocations: 50.16 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.3977, allocations: 25.72 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3977, allocations: 5.031 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.3979, allocations: 68.92 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3979, allocations: 0 / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005593/0.3985, allocations: 182.9 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.3985, allocations: 52.47 kB / 0.5354 GB, free: 9.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.3987, allocations: 212 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.3988, allocations: 31.95 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.3989, allocations: 97.55 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.3989, allocations: 22.62 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.3989, allocations: 25.03 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3991, allocations: 326.9 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.3992, allocations: 18.42 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.3992, allocations: 39.73 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.3994, allocations: 62.97 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3994, allocations: 0 / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.3996, allocations: 104.2 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3996, allocations: 5.5 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3996, allocations: 0 / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3996, allocations: 1.375 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.3997, allocations: 21.67 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3997, allocations: 0 / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.3998, allocations: 10.62 kB / 0.5364 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3998, allocations: 3.125 kB / 0.5364 GB, free: 8.555 MB / 398.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 0.000116/0.3999, allocations: 134.5 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.3999, allocations: 13.41 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.4, allocations: 18.89 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.4, allocations: 1.375 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4, allocations: 4 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4, allocations: 3.938 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.4005, allocations: 396.5 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4005, allocations: 0 / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.4005, allocations: 12.05 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4005, allocations: 9.281 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4005, allocations: 9.125 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.4006, allocations: 5.406 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4006, allocations: 3.938 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.4008, allocations: 197.6 kB / 0.5371 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.4009, allocations: 83.31 kB / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.4009, allocations: 17.92 kB / 0.5372 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.401, allocations: 2.312 kB / 0.5372 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.401, allocations: 3.281 kB / 0.5373 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.401, allocations: 7.047 kB / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.4012, allocations: 163.8 kB / 0.5374 GB, free: 7.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4012, allocations: 0 / 0.5374 GB, free: 7.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.4015, allocations: 21.06 kB / 0.5374 GB, free: 7.578 MB / 398.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.002107/0.4036, allocations: 1.091 MB / 0.5385 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.4038, allocations: 62.55 kB / 0.5386 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4038, allocations: 0 / 0.5386 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.36e-05/0.4039, allocations: 33.27 kB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.4043, allocations: 31.67 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4061, allocations: 1.686 MB / 0.5403 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4065, allocations: 0.7142 MB / 0.541 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.555e-05/0.4066, allocations: 18.73 kB / 0.541 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.4066, allocations: 35.27 kB / 0.541 GB, free: 4.449 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4066, allocations: 0 / 0.541 GB, free: 4.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.4339, allocations: 3.52 MB / 0.5445 GB, free: 2.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.519, allocations: 5.125 kB / 0.5445 GB, free: 2.555 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches