Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",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.2 kB / 17.79 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.00128, allocations: 203.8 kB / 18.74 MB, free: 4.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, 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.2241/0.2241, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 83.86 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3209, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00296/0.3239, allocations: 1.693 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.3255, allocations: 0.9986 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.3256, allocations: 5.375 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.3259, allocations: 49.91 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.3262, allocations: 102.6 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.3264, allocations: 69.89 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3266, allocations: 105.7 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.3267, allocations: 13.66 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.3268, allocations: 45.66 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.3269, allocations: 36.34 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3269, allocations: 2.75 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.289e-05/0.327, allocations: 32.61 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.327, allocations: 18.8 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.3271, allocations: 34.61 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.3273, allocations: 103 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3273, allocations: 5.375 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3273, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3273, allocations: 0 / 0.5339 GB, free: 10.87 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005427/0.3279, allocations: 410.2 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3279, allocations: 9.625 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.328, allocations: 30.75 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.328, allocations: 14.38 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3283, allocations: 215.2 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3283, allocations: 5.734 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.3283, allocations: 5.312 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3285, allocations: 51.25 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3285, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.3285, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3285, allocations: 5.359 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.3286, allocations: 16.19 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.3288, allocations: 182 kB / 0.5348 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.329, allocations: 63.05 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.329, allocations: 21.11 kB / 0.5349 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3291, allocations: 9.297 kB / 0.5349 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3292, allocations: 59.77 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3292, allocations: 0 / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000283/0.3295, allocations: 92.12 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3296, allocations: 51.41 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3298, allocations: 194.2 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3298, allocations: 27.08 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.3299, allocations: 100.2 kB / 0.5354 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.3299, allocations: 18.69 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.3299, allocations: 17.84 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3301, allocations: 323 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.3301, allocations: 10.88 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.875e-05/0.3302, allocations: 35.33 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.78e-05/0.3303, allocations: 43.55 kB / 0.5358 GB, free: 8.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3303, allocations: 5.281 kB / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001573/0.3305, allocations: 86.28 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3305, allocations: 6.469 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3305, allocations: 0 / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3305, allocations: 1.062 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.3306, allocations: 12.61 kB / 0.5359 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3306, allocations: 5.406 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.3307, allocations: 2.906 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3307, allocations: 0.9688 kB / 0.536 GB, free: 8.852 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 (7): * Single equations (assignments): 7 * 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.3308, allocations: 129.7 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.3308, allocations: 9.297 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.3309, allocations: 12.56 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3309, allocations: 1.688 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3309, allocations: 0 / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3309, allocations: 4 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.3311, allocations: 196.2 kB / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3311, allocations: 0.7812 kB / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.3311, allocations: 3.25 kB / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3311, allocations: 0 / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3311, allocations: 1.094 kB / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3311, allocations: 5.062 kB / 0.5363 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3311, allocations: 0 / 0.5363 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.3313, allocations: 118.2 kB / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.3314, allocations: 91.48 kB / 0.5365 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.3314, allocations: 9.266 kB / 0.5365 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.3315, allocations: 1.281 kB / 0.5365 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.3315, allocations: 6.656 kB / 0.5365 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3315, allocations: 6.125 kB / 0.5365 GB, free: 8.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.3316, allocations: 138.6 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3317, allocations: 1.094 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.3319, allocations: 12.78 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.00185/0.3337, allocations: 0.9418 MB / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.3339, allocations: 39.17 kB / 0.5376 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3339, allocations: 1.188 kB / 0.5376 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.007e-05/0.334, allocations: 19.55 kB / 0.5376 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.3342, allocations: 42.38 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.3358, allocations: 1.479 MB / 0.5391 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3361, allocations: 0.7021 MB / 0.5398 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.3362, allocations: 12.52 kB / 0.5398 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.3363, allocations: 34.05 kB / 0.5399 GB, free: 5.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3363, allocations: 0 / 0.5399 GB, free: 5.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.3598, allocations: 3.086 MB / 0.5429 GB, free: 3.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.876, allocations: 7.188 kB / 0.5429 GB, free: 3.602 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches