Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001698/0.001699, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001873/0.001873, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 79.88 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3117, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003292/0.3151, allocations: 1.938 MB / 0.5326 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3168, allocations: 1.066 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.3169, allocations: 1.375 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.3172, allocations: 45.28 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.3175, allocations: 99.03 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.3177, allocations: 95.02 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3179, allocations: 143.9 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.318, allocations: 31.28 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.3181, allocations: 56.03 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.3182, allocations: 53 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3183, allocations: 7.438 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3184, allocations: 50.5 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.3185, allocations: 22.73 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.436e-05/0.3185, allocations: 59.8 kB / 0.5343 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.3188, allocations: 156.6 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3188, allocations: 0 / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3188, allocations: 0 / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.3188, allocations: 1.094 kB / 0.5344 GB, free: 10.48 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.0006781/0.3195, allocations: 488.7 kB / 0.5349 GB, free: 9.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3196, allocations: 10.03 kB / 0.5349 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.3196, allocations: 36.92 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.3197, allocations: 23.62 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.32, allocations: 240.4 kB / 0.5352 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.32, allocations: 3.188 kB / 0.5352 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.32, allocations: 13.19 kB / 0.5352 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3203, allocations: 102.4 kB / 0.5353 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3203, allocations: 0 / 0.5353 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3203, allocations: 9.188 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3203, allocations: 2.312 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3205, allocations: 45.75 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.3211, allocations: 0.5036 MB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.3214, allocations: 88.36 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3215, allocations: 44.05 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3216, allocations: 1.312 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.3217, allocations: 85.34 kB / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3218, allocations: 0 / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004078/0.3222, allocations: 147.4 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3222, allocations: 52.78 kB / 0.5362 GB, free: 8.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.3224, allocations: 203.5 kB / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3225, allocations: 31.06 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.3226, allocations: 118.9 kB / 0.5366 GB, free: 8.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.3226, allocations: 31.86 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.3227, allocations: 34.64 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3228, allocations: 325.9 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.3229, allocations: 28.73 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.323, allocations: 59.92 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3232, allocations: 106.2 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3233, allocations: 0 / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003022/0.3236, allocations: 138.7 kB / 0.5373 GB, free: 7.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3236, allocations: 9.281 kB / 0.5373 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3236, allocations: 1.062 kB / 0.5373 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3236, allocations: 10.11 kB / 0.5373 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/0.3237, allocations: 22.77 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3237, allocations: 1.312 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.3238, allocations: 18.02 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3238, allocations: 3.781 kB / 0.5373 GB, free: 7.801 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.0001202/0.324, allocations: 132.7 kB / 0.5375 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.324, allocations: 18.41 kB / 0.5375 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.324, allocations: 18.22 kB / 0.5375 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.324, allocations: 5.062 kB / 0.5375 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3241, allocations: 0 / 0.5375 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3241, allocations: 5.203 kB / 0.5375 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3243, allocations: 201.5 kB / 0.5377 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3243, allocations: 5.062 kB / 0.5377 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.3243, allocations: 13.59 kB / 0.5377 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3244, allocations: 1.062 kB / 0.5377 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3244, allocations: 4.984 kB / 0.5377 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3244, allocations: 8.719 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3244, allocations: 3.938 kB / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.3248, allocations: 177.5 kB / 0.5379 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.3248, allocations: 88.3 kB / 0.538 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.3249, allocations: 2.219 kB / 0.538 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.3249, allocations: 15.23 kB / 0.538 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.325, allocations: 11.42 kB / 0.538 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.325, allocations: 3.375 kB / 0.538 GB, free: 7.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.3252, allocations: 145.8 kB / 0.5381 GB, free: 7.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3252, allocations: 3.938 kB / 0.5382 GB, free: 7.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.3254, allocations: 27.94 kB / 0.5382 GB, free: 7.031 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.002022/0.3274, allocations: 1.026 MB / 0.5392 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.3277, allocations: 79.28 kB / 0.5393 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3277, allocations: 0 / 0.5393 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3278, allocations: 38.62 kB / 0.5393 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3281, allocations: 42.84 kB / 0.5393 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3302, allocations: 1.764 MB / 0.5411 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.3306, allocations: 0.7118 MB / 0.5418 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.168e-05/0.3307, allocations: 19.72 kB / 0.5418 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.3308, allocations: 48.42 kB / 0.5418 GB, free: 3.91 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3308, allocations: 0 / 0.5418 GB, free: 3.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.3587, allocations: 3.806 MB / 0.5455 GB, free: 1.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.606, allocations: 19.42 kB / 0.5456 GB, free: 1.875 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches