Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.11 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003281/0.003281, allocations: 87.86 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3918, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003387/0.3952, allocations: 1.728 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.397, allocations: 1.017 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.3971, allocations: 5.594 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3975, allocations: 46.19 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.3978, allocations: 90.89 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.398, allocations: 79.61 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3982, allocations: 105.2 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.3983, allocations: 10.86 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3984, allocations: 46.84 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.3985, allocations: 30.8 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3985, allocations: 4.125 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3987, allocations: 47.41 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.3987, allocations: 18.8 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.3988, allocations: 43.98 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.399, allocations: 117.8 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.399, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.399, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.399, allocations: 1.375 kB / 0.534 GB, free: 10.81 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.0006125/0.3997, allocations: 423.5 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3997, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.3998, allocations: 40.05 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.3998, allocations: 10.39 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.4001, allocations: 225.3 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4001, allocations: 1.75 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.4002, allocations: 5.312 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4003, allocations: 54.05 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4003, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.4004, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4004, allocations: 1.375 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.4005, allocations: 25.55 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.4009, allocations: 294.8 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.4011, allocations: 49.94 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.4011, allocations: 26.47 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4012, allocations: 1.375 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.4013, allocations: 69.08 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.4013, allocations: 0 / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005568/0.4019, allocations: 182.5 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.402, allocations: 52.78 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.4022, allocations: 199.4 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.4022, allocations: 27.14 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.4023, allocations: 100.8 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.4023, allocations: 24.48 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.4024, allocations: 27.83 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4025, allocations: 326.9 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.4026, allocations: 14.5 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.4027, allocations: 44.42 kB / 0.5362 GB, free: 8.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.4028, allocations: 63.02 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4028, allocations: 0 / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.403, allocations: 107.9 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4031, allocations: 12.42 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4031, allocations: 1.125 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4031, allocations: 1.156 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.4032, allocations: 16.56 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4032, allocations: 1.188 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.4032, allocations: 6.375 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4032, allocations: 7.422 kB / 0.5364 GB, free: 8.59 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.0001232/0.4034, allocations: 126.9 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.4034, allocations: 13.25 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.4035, allocations: 23.09 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4035, allocations: 0 / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.4035, allocations: 1.219 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4035, allocations: 3.938 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.404, allocations: 386.9 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.404, allocations: 0 / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.404, allocations: 16.05 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.404, allocations: 5.094 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.404, allocations: 5.125 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4041, allocations: 1.219 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4041, allocations: 1.188 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.4043, allocations: 200.1 kB / 0.5371 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.4044, allocations: 91.98 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.4044, allocations: 10.17 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.4045, allocations: 6.312 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4046, allocations: 7.078 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.4046, allocations: 7.109 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.4047, allocations: 144.6 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4047, allocations: 0 / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.405, allocations: 29.67 kB / 0.5374 GB, free: 7.629 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.002236/0.4073, allocations: 1.099 MB / 0.5385 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.4075, allocations: 66.27 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4075, allocations: 0 / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.4076, allocations: 28.92 kB / 0.5386 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.4079, allocations: 25.42 kB / 0.5386 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.4099, allocations: 1.654 MB / 0.5402 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.4103, allocations: 0.7018 MB / 0.5409 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.4104, allocations: 17.72 kB / 0.5409 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.4105, allocations: 35.89 kB / 0.5409 GB, free: 4.523 MB / 398.1 MB Notification: Performance of SimCode: time 2.044e-06/0.4105, allocations: 0 / 0.5409 GB, free: 4.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.4359, allocations: 3.457 MB / 0.5443 GB, free: 2.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.501, allocations: 6.234 kB / 0.5443 GB, free: 2.648 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches