Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001557, allocations: 122.8 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.001395/0.001395, allocations: 202 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.49/1.49, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 83.86 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3698, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003475/0.3733, allocations: 1.73 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3752, allocations: 1.022 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.3753, allocations: 1.188 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.3757, allocations: 51.03 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.376, allocations: 101.2 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.3763, allocations: 75.58 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3765, allocations: 112.7 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3767, allocations: 7.812 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.3768, allocations: 43.22 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.3769, allocations: 33.38 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3769, allocations: 5.25 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.377, allocations: 38.7 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.3771, allocations: 24.67 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.3772, allocations: 48.91 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.3774, allocations: 133.8 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3774, allocations: 0 / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3775, allocations: 3.938 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3775, allocations: 0 / 0.534 GB, free: 10.75 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.000656/0.3781, allocations: 436.9 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3782, allocations: 9.625 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.3782, allocations: 36.11 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.3783, allocations: 10.39 kB / 0.5345 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.3786, allocations: 227.6 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3787, allocations: 5.75 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3787, allocations: 5.312 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3788, allocations: 54.05 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3789, allocations: 1.375 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3789, allocations: 0 / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.3789, allocations: 1.375 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.379, allocations: 21.61 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.3794, allocations: 289.6 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.3796, allocations: 65.86 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.3797, allocations: 22.47 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.3797, allocations: 0 / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3799, allocations: 65.14 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.3799, allocations: 5.375 kB / 0.5352 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005803/0.3805, allocations: 178.3 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3805, allocations: 56.72 kB / 0.5355 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.3808, allocations: 245.3 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3808, allocations: 25.7 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.3809, allocations: 115 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.3809, allocations: 19.98 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.381, allocations: 23.77 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3812, allocations: 335.1 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.3813, allocations: 18.61 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.3813, allocations: 35.98 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.3815, allocations: 59.39 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3815, allocations: 0 / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.3817, allocations: 108 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3817, allocations: 5.469 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.3817, allocations: 0.9375 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3818, allocations: 0.7812 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.3819, allocations: 21.55 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3819, allocations: 0.8125 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.3819, allocations: 19 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3819, allocations: 2.469 kB / 0.5365 GB, free: 8.488 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.0001146/0.3821, allocations: 129.7 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3821, allocations: 18.06 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.3822, allocations: 16.25 kB / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3822, allocations: 5.078 kB / 0.5366 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3822, allocations: 3.984 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3822, allocations: 5.062 kB / 0.5366 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.3827, allocations: 401.7 kB / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3827, allocations: 0 / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.3827, allocations: 11.67 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3827, allocations: 9.062 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3828, allocations: 2.312 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3828, allocations: 0 / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3828, allocations: 1.062 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.383, allocations: 205.1 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.3831, allocations: 92.3 kB / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3831, allocations: 10.27 kB / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.3832, allocations: 6.281 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.3832, allocations: 7.344 kB / 0.5373 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.3833, allocations: 7.703 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.3834, allocations: 169.2 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3834, allocations: 3.938 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000258/0.3837, allocations: 25.73 kB / 0.5375 GB, free: 7.504 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.002148/0.3859, allocations: 1.086 MB / 0.5386 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.386, allocations: 67.09 kB / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3861, allocations: 0 / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.3861, allocations: 24.78 kB / 0.5387 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3865, allocations: 46.67 kB / 0.5387 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3885, allocations: 1.747 MB / 0.5404 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3888, allocations: 0.7093 MB / 0.5411 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.402e-05/0.3889, allocations: 21.44 kB / 0.5412 GB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.3889, allocations: 39.73 kB / 0.5412 GB, free: 4.348 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.389, allocations: 0 / 0.5412 GB, free: 4.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.4139, allocations: 3.605 MB / 0.5447 GB, free: 2.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/8.642, allocations: 23.98 kB / 0.5447 GB, free: 2.398 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches