Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 204.6 kB / 18.73 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, 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.2355/0.2355, allocations: 46.13 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.88 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 62.46 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003459/0.3593, allocations: 1.726 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.3611, allocations: 1.021 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.3612, allocations: 1.375 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.3615, allocations: 42.89 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.3618, allocations: 101.8 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.362, allocations: 78.88 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3622, allocations: 109.8 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3624, allocations: 6.281 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.124e-05/0.3625, allocations: 43.66 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.3625, allocations: 41.03 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3626, allocations: 4.219 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3627, allocations: 39.61 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.3628, allocations: 21.95 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.3628, allocations: 51.67 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.3631, allocations: 125.2 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3631, allocations: 1.281 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.3631, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3631, allocations: 3.938 kB / 0.534 GB, free: 10.79 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.0006072/0.3637, allocations: 440.4 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3638, allocations: 9.219 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.3638, allocations: 35.92 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.3639, allocations: 14.92 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.3642, allocations: 223.6 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3642, allocations: 1.688 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.3642, allocations: 6.562 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3644, allocations: 53.17 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3644, allocations: 1.156 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3644, allocations: 0 / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3644, allocations: 4.906 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.3645, allocations: 22.52 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.3649, allocations: 300.9 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.3651, allocations: 54.69 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.3652, allocations: 24.81 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3652, allocations: 1.25 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.3653, allocations: 68.92 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3654, allocations: 1.25 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005941/0.366, allocations: 178.3 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.366, allocations: 52.81 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.3663, allocations: 244.3 kB / 0.5357 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3663, allocations: 31.08 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.3664, allocations: 111 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.3664, allocations: 23.97 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.3665, allocations: 27.2 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3666, allocations: 328.3 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.3667, allocations: 18.98 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.3668, allocations: 39.39 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.3669, allocations: 62.47 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.367, allocations: 0 / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.3671, allocations: 112.1 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3672, allocations: 5.5 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3672, allocations: 1.375 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3672, allocations: 1.375 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.3673, allocations: 16.3 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3673, allocations: 1.188 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.3674, allocations: 10.06 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3674, allocations: 2.25 kB / 0.5365 GB, free: 8.52 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.0001243/0.3675, allocations: 134.8 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.3676, allocations: 14.34 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.3676, allocations: 16.06 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3676, allocations: 5.016 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3676, allocations: 3.938 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.3676, allocations: 4.938 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.3682, allocations: 393.5 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3682, allocations: 0 / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.3682, allocations: 19.77 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.478e-05/0.3683, allocations: 5.062 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3683, allocations: 6.312 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3683, allocations: 1.25 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3683, allocations: 0 / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3686, allocations: 201.7 kB / 0.5372 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.3687, allocations: 92.31 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.3687, allocations: 18.17 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.3688, allocations: 1.25 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.3688, allocations: 11.97 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3688, allocations: 7.578 kB / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.369, allocations: 169.2 kB / 0.5375 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.369, allocations: 0 / 0.5375 GB, free: 7.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3693, allocations: 26.23 kB / 0.5375 GB, free: 7.535 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.002206/0.3715, allocations: 1.092 MB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3717, allocations: 58.44 kB / 0.5387 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3717, allocations: 0 / 0.5387 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.3718, allocations: 29.25 kB / 0.5387 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3722, allocations: 35.19 kB / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3742, allocations: 1.751 MB / 0.5404 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3745, allocations: 0.7087 MB / 0.5411 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.3746, allocations: 14.28 kB / 0.5411 GB, free: 4.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.3747, allocations: 43.67 kB / 0.5412 GB, free: 4.379 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3747, allocations: 0 / 0.5412 GB, free: 4.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.4007, allocations: 3.617 MB / 0.5447 GB, free: 2.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.498, allocations: 11.83 kB / 0.5447 GB, free: 2.438 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches