Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001724/0.001724, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002084/0.002084, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 79.88 kB / 481 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3429, allocations: 62.46 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003444/0.3464, allocations: 1.728 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3483, allocations: 1.023 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.3484, allocations: 0.9688 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.3488, allocations: 53.72 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.3491, allocations: 110.9 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.3493, allocations: 71.48 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3495, allocations: 109.1 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.3496, allocations: 10.02 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.3497, allocations: 40.23 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.3498, allocations: 33.66 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3498, allocations: 5.062 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.3499, allocations: 39.67 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.35, allocations: 35.34 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.3501, allocations: 44.98 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3503, allocations: 141.1 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3504, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3504, allocations: 1.531 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3504, allocations: 0 / 0.5341 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.0006512/0.351, allocations: 460.2 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3511, allocations: 9.625 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.3511, allocations: 36.11 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.3512, allocations: 15.72 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.3515, allocations: 235 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3515, allocations: 1.75 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.3515, allocations: 6.688 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3517, allocations: 57.98 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3517, allocations: 3.938 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3518, allocations: 5.359 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3518, allocations: 0 / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.3518, allocations: 18.98 kB / 0.5349 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.3523, allocations: 296.4 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.3525, allocations: 61.86 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.3525, allocations: 22.47 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3526, allocations: 0 / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.3527, allocations: 69.14 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3528, allocations: 1.375 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005742/0.3533, allocations: 192.9 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.3534, allocations: 56.78 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.3537, allocations: 280.4 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3537, allocations: 30.73 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.3538, allocations: 111.6 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.3539, allocations: 28.12 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.3539, allocations: 24.09 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3541, allocations: 328.4 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.3541, allocations: 26.17 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.3542, allocations: 32.03 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3544, allocations: 63.11 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3544, allocations: 4.375 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.3546, allocations: 109.7 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3546, allocations: 4.656 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3546, allocations: 1.375 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3546, allocations: 5.188 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.3547, allocations: 13.09 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3547, allocations: 1.156 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.3548, allocations: 16.98 kB / 0.5366 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3548, allocations: 2.719 kB / 0.5366 GB, free: 8.43 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.0001349/0.3549, allocations: 142.5 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.355, allocations: 15.53 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.355, allocations: 21.27 kB / 0.5367 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.355, allocations: 1.219 kB / 0.5368 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.3551, allocations: 1.125 kB / 0.5368 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3551, allocations: 3.938 kB / 0.5368 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.3556, allocations: 410.4 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3556, allocations: 4.031 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.3556, allocations: 11.69 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3556, allocations: 5.031 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3556, allocations: 2.312 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3556, allocations: 3.984 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3556, allocations: 1.156 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3559, allocations: 210.3 kB / 0.5374 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.356, allocations: 92.61 kB / 0.5375 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.356, allocations: 10.16 kB / 0.5375 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.3561, allocations: 2.188 kB / 0.5375 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3562, allocations: 11.41 kB / 0.5375 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3562, allocations: 3.531 kB / 0.5375 GB, free: 7.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.3564, allocations: 215.8 kB / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3564, allocations: 0 / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3566, allocations: 26.27 kB / 0.5377 GB, free: 7.422 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.002152/0.3588, allocations: 1.105 MB / 0.5388 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.359, allocations: 49.45 kB / 0.5388 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.359, allocations: 1.312 kB / 0.5388 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.3591, allocations: 32.83 kB / 0.5389 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3596, allocations: 33.91 kB / 0.5389 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.3626, allocations: 1.866 MB / 0.5407 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.3632, allocations: 0.7139 MB / 0.5414 GB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.63e-05/0.3633, allocations: 22.12 kB / 0.5415 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.3634, allocations: 48.06 kB / 0.5415 GB, free: 4.203 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3634, allocations: 0 / 0.5415 GB, free: 4.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.3909, allocations: 3.849 MB / 0.5453 GB, free: 2.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.607, allocations: 15.39 kB / 0.5453 GB, free: 2.133 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches