Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 183.1 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2057/0.2057, allocations: 44.18 MB / 336.8 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3605, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003565/0.3641, allocations: 1.67 MB / 0.5201 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3657, allocations: 0.8493 MB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.3658, allocations: 5 kB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.3662, allocations: 48.17 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.3665, allocations: 59.95 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.3669, allocations: 111.3 kB / 0.5212 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.3671, allocations: 97.67 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.3672, allocations: 5.25 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3673, allocations: 45.47 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3675, allocations: 38.73 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3675, allocations: 3.344 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3676, allocations: 34.31 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3677, allocations: 20.61 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.563e-05/0.3678, allocations: 28.25 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.3681, allocations: 96.22 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3681, allocations: 1.609 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3681, allocations: 0 / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3681, allocations: 0 / 0.5215 GB, free: 1.273 MB / 382.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.0005372/0.3686, allocations: 402.6 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3687, allocations: 9.5 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.3687, allocations: 32.8 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.3688, allocations: 9.078 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3691, allocations: 209.1 kB / 0.5222 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3691, allocations: 6.141 kB / 0.5222 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.3691, allocations: 5.031 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3692, allocations: 47.34 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3693, allocations: 0 / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3693, allocations: 1.688 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3693, allocations: 0.5625 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.3694, allocations: 14.47 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.3695, allocations: 177.5 kB / 0.5224 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.3697, allocations: 68.86 kB / 0.5225 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.3698, allocations: 19.3 kB / 0.5225 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3698, allocations: 1.219 kB / 0.5225 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.3699, allocations: 65.41 kB / 0.5225 GB, free: 252 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.37, allocations: 0 / 0.5225 GB, free: 252 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002809/0.3702, allocations: 99.27 kB / 0.5226 GB, free: 192 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3703, allocations: 52.84 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3704, allocations: 169.2 kB / 0.5228 GB, free: 4 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.3705, allocations: 26.5 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.3706, allocations: 98.94 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.3706, allocations: 15.11 kB / 0.523 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.3707, allocations: 20.42 kB / 0.523 GB, free: 15.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3708, allocations: 329.7 kB / 0.5233 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.3708, allocations: 18.38 kB / 0.5233 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.3709, allocations: 25.67 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.371, allocations: 45.78 kB / 0.5234 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.371, allocations: 3.938 kB / 0.5234 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001599/0.3712, allocations: 77.19 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3712, allocations: 12.69 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3712, allocations: 4.062 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3713, allocations: 1.531 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.3714, allocations: 14.44 kB / 0.5235 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3714, allocations: 1.844 kB / 0.5235 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.3714, allocations: 10.77 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-06/0.3714, allocations: 2.281 kB / 0.5235 GB, free: 15.39 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 9.392e-05/0.3715, allocations: 123.4 kB / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3716, allocations: 12.78 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.3716, allocations: 18.83 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3716, allocations: 0 / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3716, allocations: 0.9062 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.3716, allocations: 0.6562 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3718, allocations: 180.3 kB / 0.5238 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3718, allocations: 0 / 0.5238 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.3718, allocations: 4.094 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3718, allocations: 1.094 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3718, allocations: 6.109 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3719, allocations: 0 / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3719, allocations: 4.938 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.372, allocations: 108.1 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.3721, allocations: 84.66 kB / 0.524 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3721, allocations: 5.797 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.3722, allocations: 2.531 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.3722, allocations: 7.562 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3722, allocations: 2.375 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3723, allocations: 135.1 kB / 0.5242 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3724, allocations: 0 / 0.5242 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.3726, allocations: 18 kB / 0.5242 GB, free: 14.76 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.001224/0.3738, allocations: 0.943 MB / 0.5251 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.374, allocations: 43.48 kB / 0.5252 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.374, allocations: 1.062 kB / 0.5252 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.3741, allocations: 25.22 kB / 0.5252 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.3743, allocations: 32.84 kB / 0.5252 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3759, allocations: 1.461 MB / 0.5267 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3762, allocations: 0.703 MB / 0.5273 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.156e-05/0.3762, allocations: 10.73 kB / 0.5274 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.3763, allocations: 28.16 kB / 0.5274 GB, free: 12.03 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3763, allocations: 2.062 kB / 0.5274 GB, free: 12.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.3964, allocations: 3.05 MB / 0.5304 GB, free: 10.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.741, allocations: 1.125 kB / 0.5304 GB, free: 10.81 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches