Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 121.6 kB / 17.79 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.001289/0.001289, allocations: 203.9 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 83.8 kB / 481 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3475, allocations: 62.44 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003556/0.3511, allocations: 1.929 MB / 0.5326 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3535, allocations: 1.12 MB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3536, allocations: 5.531 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.3541, allocations: 222.3 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.3547, allocations: 222.6 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.355, allocations: 115.1 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.3554, allocations: 254.7 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3555, allocations: 28.8 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.3557, allocations: 129.1 kB / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.3559, allocations: 148.7 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.3559, allocations: 8.25 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.3561, allocations: 63.11 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.3562, allocations: 65.47 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.942e-05/0.3563, allocations: 99.84 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.3566, allocations: 241.9 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3567, allocations: 3.938 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3567, allocations: 1.094 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3567, allocations: 0 / 0.5352 GB, free: 10.02 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.0007998/0.3575, allocations: 0.5692 MB / 0.5358 GB, free: 9.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3575, allocations: 8.969 kB / 0.5358 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.3576, allocations: 41.73 kB / 0.5358 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.3577, allocations: 34.19 kB / 0.5359 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.3581, allocations: 291.5 kB / 0.5361 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3581, allocations: 7.781 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3581, allocations: 8.656 kB / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.3584, allocations: 110.1 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3584, allocations: 1.094 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3585, allocations: 8.969 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3585, allocations: 2 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3586, allocations: 49.19 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.3594, allocations: 478.6 kB / 0.5368 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.3598, allocations: 131.3 kB / 0.5369 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3599, allocations: 40.48 kB / 0.5369 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.36, allocations: 1.156 kB / 0.5369 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.3602, allocations: 124.6 kB / 0.5371 GB, free: 8.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.3602, allocations: 4 kB / 0.5371 GB, free: 8.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001347/0.3616, allocations: 0.5031 MB / 0.5376 GB, free: 8.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.3617, allocations: 84.36 kB / 0.5376 GB, free: 7.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.3622, allocations: 452 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3622, allocations: 27.95 kB / 0.5381 GB, free: 7.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.3624, allocations: 159.6 kB / 0.5383 GB, free: 7.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.3625, allocations: 74.09 kB / 0.5383 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.3625, allocations: 45.83 kB / 0.5384 GB, free: 7.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3627, allocations: 344.3 kB / 0.5387 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3629, allocations: 57.25 kB / 0.5387 GB, free: 7.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.363, allocations: 95.75 kB / 0.5388 GB, free: 6.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.3633, allocations: 165.6 kB / 0.539 GB, free: 6.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3633, allocations: 3.938 kB / 0.539 GB, free: 6.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004051/0.3637, allocations: 231.3 kB / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3638, allocations: 5.5 kB / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3638, allocations: 1.469 kB / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3638, allocations: 1.25 kB / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.3639, allocations: 55.59 kB / 0.5393 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3639, allocations: 1.406 kB / 0.5393 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-05/0.364, allocations: 12.83 kB / 0.5393 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3641, allocations: 5.781 kB / 0.5393 GB, free: 6.715 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.0001809/0.3642, allocations: 164.6 kB / 0.5395 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.3643, allocations: 35.97 kB / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.7e-05/0.3644, allocations: 47.67 kB / 0.5395 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3644, allocations: 6.188 kB / 0.5395 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3644, allocations: 4 kB / 0.5395 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3644, allocations: 0.875 kB / 0.5395 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/0.3654, allocations: 0.7313 MB / 0.5403 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3654, allocations: 2.031 kB / 0.5403 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.3655, allocations: 31.56 kB / 0.5403 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3655, allocations: 6.125 kB / 0.5403 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.3655, allocations: 9.188 kB / 0.5403 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3656, allocations: 6.219 kB / 0.5403 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3656, allocations: 5.062 kB / 0.5403 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.3661, allocations: 424 kB / 0.5407 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.3662, allocations: 101.2 kB / 0.5408 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.3662, allocations: 12.05 kB / 0.5408 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3664, allocations: 9.188 kB / 0.5408 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.3664, allocations: 20.42 kB / 0.5409 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.3665, allocations: 16.33 kB / 0.5409 GB, free: 5.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003747/0.3669, allocations: 338.9 kB / 0.5412 GB, free: 5.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3669, allocations: 0 / 0.5412 GB, free: 5.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.3672, allocations: 49.12 kB / 0.5412 GB, free: 5.199 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.002593/0.3698, allocations: 1.354 MB / 0.5426 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003528/0.3702, allocations: 167.5 kB / 0.5427 GB, free: 4.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3702, allocations: 0 / 0.5427 GB, free: 4.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.3704, allocations: 79.72 kB / 0.5428 GB, free: 4.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.371, allocations: 72.05 kB / 0.5429 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.3745, allocations: 2.893 MB / 0.5457 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3749, allocations: 0.7718 MB / 0.5465 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.375, allocations: 41.92 kB / 0.5465 GB, free: 1.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3752, allocations: 95.39 kB / 0.5466 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of SimCode: time 5.62e-07/0.3752, allocations: 4 kB / 0.5466 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.4041, allocations: 6.417 MB / 0.5529 GB, free: 10.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.499, allocations: 12.22 kB / 0.5529 GB, free: 10.66 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches