Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001871/0.001878, allocations: 121.6 kB / 17.79 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.002174/0.002174, allocations: 203.9 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.502/1.502, 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.2228/0.2228, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 83.86 kB / 481 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3225, allocations: 62.44 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003256/0.3258, allocations: 1.734 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3275, allocations: 1.022 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.3276, allocations: 0 / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.3279, allocations: 43.3 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.3282, allocations: 95.06 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.3284, allocations: 79.05 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3286, allocations: 106.3 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.3287, allocations: 9.5 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.3288, allocations: 44.28 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.3288, allocations: 37.41 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3289, allocations: 4.125 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.329, allocations: 40.86 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.329, allocations: 17.42 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.3291, allocations: 39.92 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3293, allocations: 125.8 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3293, allocations: 1.375 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3293, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3293, allocations: 0 / 0.534 GB, free: 10.78 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.0005234/0.3298, allocations: 424.9 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3299, allocations: 13.61 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.3299, allocations: 36.06 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.33, allocations: 9.016 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.3302, allocations: 221.3 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3303, allocations: 5.688 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3303, allocations: 6.688 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3304, allocations: 58.05 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3304, allocations: 0 / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3305, allocations: 1.375 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3305, allocations: 0 / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.799e-05/0.3305, allocations: 18.98 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.3309, allocations: 290.8 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3311, allocations: 65.86 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.3311, allocations: 21.09 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3312, allocations: 1.375 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.3313, allocations: 65.14 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3313, allocations: 0 / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005241/0.3319, allocations: 171.2 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3319, allocations: 59.39 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3321, allocations: 201.5 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3321, allocations: 26.8 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.3322, allocations: 100.6 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.3322, allocations: 27.97 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3323, allocations: 20.75 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3325, allocations: 321.6 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.3325, allocations: 27.52 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.3326, allocations: 38.64 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3327, allocations: 63.44 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3327, allocations: 1.281 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.3329, allocations: 99.34 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.3329, allocations: 9.594 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3329, allocations: 4 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.333, allocations: 0.9688 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.333, allocations: 21.67 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.333, allocations: 1.125 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.3331, allocations: 10.09 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3331, allocations: 2.375 kB / 0.5363 GB, free: 8.562 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.0001095/0.3332, allocations: 127.5 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.3333, allocations: 13.66 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.3333, allocations: 21.92 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3333, allocations: 1.094 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3333, allocations: 5.219 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3333, allocations: 3.938 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.3338, allocations: 398.7 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3338, allocations: 0 / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.3338, allocations: 11.92 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.3339, allocations: 5.031 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3339, allocations: 1.094 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3339, allocations: 1.031 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3339, allocations: 1.062 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.3341, allocations: 204.6 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.3342, allocations: 88.92 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.3342, allocations: 5.156 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.3343, allocations: 6.797 kB / 0.5372 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.3343, allocations: 2.656 kB / 0.5372 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3343, allocations: 15.58 kB / 0.5372 GB, free: 7.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3345, allocations: 148 kB / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3345, allocations: 1.094 kB / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000247/0.3347, allocations: 25.11 kB / 0.5374 GB, free: 7.594 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.002034/0.3368, allocations: 1.098 MB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.337, allocations: 58.16 kB / 0.5385 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.337, allocations: 1.312 kB / 0.5385 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.337, allocations: 28.47 kB / 0.5385 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3374, allocations: 39.67 kB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3391, allocations: 1.647 MB / 0.5402 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3395, allocations: 0.7057 MB / 0.5409 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.794e-05/0.3395, allocations: 14.88 kB / 0.5409 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.3396, allocations: 35.02 kB / 0.5409 GB, free: 4.496 MB / 398.1 MB Notification: Performance of SimCode: time 2.144e-06/0.3396, allocations: 0 / 0.5409 GB, free: 4.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3636, allocations: 3.454 MB / 0.5443 GB, free: 2.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.498, allocations: 11.39 kB / 0.5443 GB, free: 2.617 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches