Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 117.7 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.002157/0.002157, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3532, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003629/0.3569, allocations: 1.932 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.3588, allocations: 1.058 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3589, allocations: 5.5 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.3592, allocations: 42.16 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.3595, allocations: 102.4 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.3598, allocations: 93.61 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.3601, allocations: 149.3 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3602, allocations: 30.27 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3603, allocations: 57.47 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3604, allocations: 53.47 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.3605, allocations: 6.875 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3606, allocations: 51.59 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.3607, allocations: 21.42 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.3607, allocations: 51.98 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.361, allocations: 159.2 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.361, allocations: 0 / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3611, allocations: 1.375 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3611, allocations: 0 / 0.5343 GB, free: 10.53 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.00075/0.3618, allocations: 481.8 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3619, allocations: 9.625 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.3619, allocations: 40.11 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.362, allocations: 17 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.3624, allocations: 243.5 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3624, allocations: 3.125 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.3625, allocations: 13.44 kB / 0.5351 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.3627, allocations: 112.5 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3627, allocations: 3.938 kB / 0.5352 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3628, allocations: 1.375 kB / 0.5352 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3628, allocations: 1.375 kB / 0.5352 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.3629, allocations: 50.09 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.3636, allocations: 0.5088 MB / 0.5357 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.3639, allocations: 83.36 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-05/0.364, allocations: 39.55 kB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3641, allocations: 5.938 kB / 0.5358 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.3643, allocations: 81.19 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.3643, allocations: 0 / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004039/0.3647, allocations: 147.5 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3647, allocations: 52.69 kB / 0.5361 GB, free: 8.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3649, allocations: 203 kB / 0.5363 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.365, allocations: 26.8 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.365, allocations: 118.8 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3651, allocations: 40.16 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.3651, allocations: 26.88 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3653, allocations: 326.2 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.3654, allocations: 36.59 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3655, allocations: 60.19 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.3657, allocations: 93.98 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3658, allocations: 4 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002687/0.366, allocations: 142.6 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3661, allocations: 4.75 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3661, allocations: 2.188 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3661, allocations: 6.188 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.3662, allocations: 25.77 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3662, allocations: 1.406 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.3663, allocations: 17.06 kB / 0.5372 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.3663, allocations: 5.125 kB / 0.5372 GB, free: 7.852 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.000111/0.3664, allocations: 130.8 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3665, allocations: 10.28 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.3665, allocations: 17.45 kB / 0.5373 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3665, allocations: 5.375 kB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3665, allocations: 1.25 kB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3666, allocations: 3.984 kB / 0.5374 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.3667, allocations: 218.6 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3668, allocations: 4 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.3668, allocations: 14.3 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3668, allocations: 0 / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3669, allocations: 5.5 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3669, allocations: 5.25 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3669, allocations: 0 / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.3672, allocations: 177.3 kB / 0.5378 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.3673, allocations: 88.42 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3673, allocations: 5.203 kB / 0.5379 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.3674, allocations: 11.78 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.3675, allocations: 7.422 kB / 0.5379 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3675, allocations: 3.875 kB / 0.5379 GB, free: 7.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.3676, allocations: 145.3 kB / 0.538 GB, free: 7.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.3676, allocations: 3.938 kB / 0.538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.3679, allocations: 32.06 kB / 0.538 GB, free: 7.082 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.001494/0.3694, allocations: 1.024 MB / 0.539 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.3696, allocations: 79.45 kB / 0.5391 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3696, allocations: 5.375 kB / 0.5391 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.3697, allocations: 37.77 kB / 0.5392 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.37, allocations: 45.73 kB / 0.5392 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.3721, allocations: 1.752 MB / 0.5409 GB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.3725, allocations: 0.7164 MB / 0.5416 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.3726, allocations: 19.41 kB / 0.5416 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.3727, allocations: 44.22 kB / 0.5417 GB, free: 3.973 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3727, allocations: 3.938 kB / 0.5417 GB, free: 3.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.394, allocations: 3.856 MB / 0.5454 GB, free: 1.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.918, allocations: 5.109 kB / 0.5455 GB, free: 1.91 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches