Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 199.9 kB / 18.73 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.418/1.418, 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.243/0.243, allocations: 46.12 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 75.88 kB / 481 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.413, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003573/0.4166, allocations: 1.916 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.4186, allocations: 1.123 MB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.4187, allocations: 2.75 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.4191, allocations: 166.9 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.4196, allocations: 177.2 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.4198, allocations: 120.5 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.4202, allocations: 246.1 kB / 0.5344 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.4203, allocations: 29.67 kB / 0.5344 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.4205, allocations: 117.7 kB / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.4207, allocations: 127.4 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.4207, allocations: 11.59 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.4209, allocations: 63.81 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.421, allocations: 49.47 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.4211, allocations: 85.66 kB / 0.5348 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.4214, allocations: 232 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4215, allocations: 0 / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4215, allocations: 0 / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4215, allocations: 0 / 0.5351 GB, free: 10.11 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007741/0.4223, allocations: 0.5516 MB / 0.5356 GB, free: 9.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4223, allocations: 13.11 kB / 0.5356 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.4224, allocations: 37 kB / 0.5356 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.4224, allocations: 32.5 kB / 0.5357 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.4228, allocations: 275.7 kB / 0.5359 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4228, allocations: 8.5 kB / 0.5359 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.4229, allocations: 8.062 kB / 0.5359 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.4231, allocations: 112.3 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4231, allocations: 0 / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4231, allocations: 5.375 kB / 0.5361 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4232, allocations: 2.719 kB / 0.5361 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.4233, allocations: 47.7 kB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.4239, allocations: 470.2 kB / 0.5366 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.4243, allocations: 126.7 kB / 0.5367 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4244, allocations: 44.59 kB / 0.5367 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.4244, allocations: 2.594 kB / 0.5367 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.4247, allocations: 135.2 kB / 0.5369 GB, free: 8.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.4247, allocations: 1.062 kB / 0.5369 GB, free: 8.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001355/0.4261, allocations: 0.4886 MB / 0.5373 GB, free: 8.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.4261, allocations: 87.73 kB / 0.5374 GB, free: 8.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.4266, allocations: 372.5 kB / 0.5378 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.4266, allocations: 31.92 kB / 0.5378 GB, free: 7.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.4267, allocations: 145.8 kB / 0.5379 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/0.4268, allocations: 73.53 kB / 0.538 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.4269, allocations: 41.44 kB / 0.538 GB, free: 7.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.4271, allocations: 343.8 kB / 0.5384 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.4273, allocations: 57.53 kB / 0.5384 GB, free: 7.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.4274, allocations: 99.28 kB / 0.5385 GB, free: 7.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.4277, allocations: 156.3 kB / 0.5387 GB, free: 7.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4277, allocations: 1.188 kB / 0.5387 GB, free: 7.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004083/0.4281, allocations: 237.8 kB / 0.5389 GB, free: 6.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4282, allocations: 8.375 kB / 0.5389 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4282, allocations: 1.156 kB / 0.5389 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4282, allocations: 2.312 kB / 0.5389 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.4283, allocations: 42.77 kB / 0.539 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4284, allocations: 6.203 kB / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.4284, allocations: 7.375 kB / 0.539 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.4285, allocations: 7.094 kB / 0.539 GB, free: 6.883 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001956/0.4287, allocations: 167.2 kB / 0.5391 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.4287, allocations: 32.44 kB / 0.5392 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-05/0.4288, allocations: 37.02 kB / 0.5392 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4288, allocations: 2.312 kB / 0.5392 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4289, allocations: 5.219 kB / 0.5392 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4289, allocations: 0 / 0.5392 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4299, allocations: 0.7303 MB / 0.5399 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4299, allocations: 1.188 kB / 0.5399 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.535e-05/0.43, allocations: 23.09 kB / 0.5399 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.43, allocations: 7.031 kB / 0.54 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.43, allocations: 12.33 kB / 0.54 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.43, allocations: 2.25 kB / 0.54 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.43, allocations: 6.094 kB / 0.54 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.4306, allocations: 421.5 kB / 0.5404 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.4306, allocations: 101.5 kB / 0.5405 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.4307, allocations: 8.312 kB / 0.5405 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.4309, allocations: 16.33 kB / 0.5405 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.431, allocations: 16.3 kB / 0.5405 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.431, allocations: 12.53 kB / 0.5405 GB, free: 5.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003062/0.4313, allocations: 279.3 kB / 0.5408 GB, free: 5.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4313, allocations: 0 / 0.5408 GB, free: 5.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.4317, allocations: 48.69 kB / 0.5408 GB, free: 5.406 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002745/0.4344, allocations: 1.367 MB / 0.5422 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.4349, allocations: 159.1 kB / 0.5423 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4349, allocations: 1.125 kB / 0.5423 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.435, allocations: 78.72 kB / 0.5424 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.4357, allocations: 67.78 kB / 0.5425 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.4397, allocations: 2.719 MB / 0.5451 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.4403, allocations: 0.7644 MB / 0.5459 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.4405, allocations: 32.5 kB / 0.5459 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.4406, allocations: 94.45 kB / 0.546 GB, free: 1.344 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4407, allocations: 4 kB / 0.546 GB, free: 1.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.4707, allocations: 6.074 MB / 0.5519 GB, free: 11.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.547, allocations: 13.33 kB / 0.5519 GB, free: 11.62 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches