Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, 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.001245/0.001246, 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.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 79.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3605, allocations: 62.42 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.005204/0.3657, allocations: 1.94 MB / 0.5325 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.3689, allocations: 1.062 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.3691, allocations: 5.281 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.3696, allocations: 44.83 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005697/0.3702, allocations: 102.7 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.3707, allocations: 86.84 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.371, allocations: 153.8 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.3712, allocations: 29.45 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.3715, allocations: 57.66 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3716, allocations: 48.2 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.3717, allocations: 7.781 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.3719, allocations: 46.77 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.372, allocations: 26.88 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3721, allocations: 55.27 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.3725, allocations: 151.4 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3725, allocations: 4 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3725, allocations: 1.281 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3726, allocations: 0 / 0.5343 GB, free: 10.54 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001041/0.3736, allocations: 481.4 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.3737, allocations: 8.938 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.609e-05/0.3738, allocations: 41.17 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.3739, allocations: 16.19 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.3744, allocations: 244.7 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3744, allocations: 3.156 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.3745, allocations: 13.09 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.3749, allocations: 111.4 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3749, allocations: 0 / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.375, allocations: 5.219 kB / 0.5352 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.375, allocations: 1 kB / 0.5352 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.3752, allocations: 51.44 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009389/0.3762, allocations: 0.5074 MB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.3767, allocations: 87.8 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.3769, allocations: 44.02 kB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3769, allocations: 1.375 kB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/0.3773, allocations: 81.38 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.345e-06/0.3773, allocations: 0 / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006732/0.378, allocations: 151.3 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.378, allocations: 52.78 kB / 0.5361 GB, free: 8.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.3784, allocations: 198.4 kB / 0.5363 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.3784, allocations: 30.8 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3786, allocations: 118.5 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.3786, allocations: 32.03 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.3787, allocations: 26.45 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3789, allocations: 331.2 kB / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3791, allocations: 28.05 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.3793, allocations: 72.23 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.3796, allocations: 101.5 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3796, allocations: 0 / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005012/0.3801, allocations: 133.9 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3802, allocations: 5.875 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3802, allocations: 1.438 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3803, allocations: 9.469 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3804, allocations: 30.7 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3805, allocations: 1.062 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3806, allocations: 10.38 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3806, allocations: 3.812 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001669/0.3808, allocations: 132.8 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.3809, allocations: 10.66 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.381, allocations: 17.97 kB / 0.5374 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.381, allocations: 14.03 kB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.381, allocations: 3.984 kB / 0.5374 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.381, allocations: 0 / 0.5374 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3813, allocations: 214.5 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3814, allocations: 5.094 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.3815, allocations: 9.094 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3815, allocations: 1.094 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.3816, allocations: 5.109 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.3816, allocations: 5.219 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3816, allocations: 0 / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.3823, allocations: 180.6 kB / 0.5378 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.3824, allocations: 84.55 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.3824, allocations: 9.391 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3826, allocations: 8.625 kB / 0.5379 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.3826, allocations: 7.391 kB / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3827, allocations: 6.406 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.3829, allocations: 146.6 kB / 0.538 GB, free: 7.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3829, allocations: 3.938 kB / 0.538 GB, free: 7.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.3834, allocations: 26.94 kB / 0.5381 GB, free: 7.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002604/0.386, allocations: 1.021 MB / 0.539 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.3864, allocations: 75.44 kB / 0.5391 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3864, allocations: 0 / 0.5391 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.3866, allocations: 42 kB / 0.5392 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3872, allocations: 49.16 kB / 0.5392 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.3906, allocations: 1.752 MB / 0.5409 GB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.391, allocations: 0.7153 MB / 0.5416 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.3911, allocations: 19.47 kB / 0.5416 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3913, allocations: 48.83 kB / 0.5417 GB, free: 3.977 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3913, allocations: 0 / 0.5417 GB, free: 3.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.4196, allocations: 3.868 MB / 0.5455 GB, free: 1.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/8.038, allocations: 8.516 kB / 0.5455 GB, free: 1.91 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches