Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 83.81 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3786, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002945/0.3816, allocations: 1.749 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3832, allocations: 1.033 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.3832, allocations: 1.375 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.3835, allocations: 48.27 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.3838, allocations: 100.4 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.384, allocations: 80.3 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.3842, allocations: 131.9 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3843, allocations: 12.23 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.3844, allocations: 57.5 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.842e-05/0.3845, allocations: 46.89 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3846, allocations: 5.156 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.3847, allocations: 64.12 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.3848, allocations: 33.09 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.3848, allocations: 46.91 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3851, allocations: 149.5 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3851, allocations: 0 / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3851, allocations: 0 / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3851, allocations: 1.344 kB / 0.5341 GB, free: 10.77 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005731/0.3857, allocations: 442.3 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3857, allocations: 10.03 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.3858, allocations: 39.86 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.3858, allocations: 14.53 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3861, allocations: 225.1 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3861, allocations: 1.688 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3862, allocations: 7.75 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3863, allocations: 74.34 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3864, allocations: 7.906 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3864, allocations: 5.312 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3864, allocations: 1.188 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.3865, allocations: 39.56 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.3869, allocations: 322.2 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.3872, allocations: 82.11 kB / 0.5353 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.3873, allocations: 33.91 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3873, allocations: 2.469 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3875, allocations: 84.06 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3875, allocations: 0 / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.000813/0.3883, allocations: 300.4 kB / 0.5357 GB, free: 9.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3884, allocations: 64.66 kB / 0.5357 GB, free: 9.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.3886, allocations: 195.9 kB / 0.5359 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3886, allocations: 27.08 kB / 0.536 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.3887, allocations: 105.9 kB / 0.5361 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.3887, allocations: 46.31 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.3888, allocations: 32.27 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3889, allocations: 322.4 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.389, allocations: 39.42 kB / 0.5365 GB, free: 8.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.3891, allocations: 62.42 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3893, allocations: 98.08 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3893, allocations: 0 / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002637/0.3895, allocations: 157.6 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3896, allocations: 5.75 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3896, allocations: 0 / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3896, allocations: 1.219 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.3897, allocations: 33.92 kB / 0.5368 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3897, allocations: 1.188 kB / 0.5368 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.3898, allocations: 6.406 kB / 0.5368 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3898, allocations: 3.938 kB / 0.5368 GB, free: 8.34 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 (15): * Single equations (assignments): 15 * 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.0001013/0.3899, allocations: 132 kB / 0.537 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3899, allocations: 14.19 kB / 0.537 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.39, allocations: 21.06 kB / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.39, allocations: 9.109 kB / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.39, allocations: 1.438 kB / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.39, allocations: 7.938 kB / 0.537 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.3906, allocations: 484 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3906, allocations: 1.156 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.3906, allocations: 22.17 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3906, allocations: 2.188 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3907, allocations: 6.188 kB / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3907, allocations: 1.156 kB / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3907, allocations: 5.219 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.391, allocations: 257 kB / 0.5377 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.3911, allocations: 101.8 kB / 0.5378 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.3911, allocations: 2.156 kB / 0.5378 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.3912, allocations: 6.5 kB / 0.5379 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.3912, allocations: 12.95 kB / 0.5379 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3912, allocations: 5 kB / 0.5379 GB, free: 7.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3914, allocations: 151.7 kB / 0.538 GB, free: 7.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3914, allocations: 1.094 kB / 0.538 GB, free: 7.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3917, allocations: 30.36 kB / 0.538 GB, free: 7.277 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001566/0.3932, allocations: 1.201 MB / 0.5392 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.3935, allocations: 105.1 kB / 0.5393 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3935, allocations: 0 / 0.5393 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.3936, allocations: 49.92 kB / 0.5394 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3939, allocations: 36.95 kB / 0.5394 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3959, allocations: 1.848 MB / 0.5412 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3962, allocations: 0.7157 MB / 0.5419 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.3963, allocations: 29.8 kB / 0.5419 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.3964, allocations: 48.3 kB / 0.542 GB, free: 3.965 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3964, allocations: 0 / 0.542 GB, free: 3.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.4187, allocations: 4.112 MB / 0.546 GB, free: 1.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.152, allocations: 4.953 kB / 0.546 GB, free: 1.777 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches