Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 115.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001849/0.00185, allocations: 204.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 76.06 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3098, allocations: 62.45 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00308/0.3129, allocations: 1.722 MB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3146, allocations: 1.021 MB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.84e-05/0.3147, allocations: 1.375 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.315, allocations: 44.14 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.3154, allocations: 96.41 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.3156, allocations: 86.91 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3158, allocations: 96.95 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.3159, allocations: 10.86 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.316, allocations: 44.28 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.3161, allocations: 33.42 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3161, allocations: 4.125 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3163, allocations: 40.86 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.3163, allocations: 26.72 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.3164, allocations: 43.97 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.3166, allocations: 132 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3166, allocations: 3.938 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3166, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3166, allocations: 0 / 0.5351 GB, free: 11 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.0005837/0.3172, allocations: 416.2 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3173, allocations: 9.812 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.3173, allocations: 13.62 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3176, allocations: 220.3 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3177, allocations: 10.56 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3177, allocations: 6.031 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3178, allocations: 54.17 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3179, allocations: 3.984 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3179, allocations: 1.312 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3179, allocations: 0 / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.318, allocations: 19.52 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.3184, allocations: 282.9 kB / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3185, allocations: 62.44 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.3186, allocations: 21.59 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.3186, allocations: 1.375 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.3188, allocations: 64.42 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.3188, allocations: 4 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005575/0.3194, allocations: 182.8 kB / 0.5364 GB, free: 9.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.3194, allocations: 56.44 kB / 0.5364 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.3196, allocations: 208 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3196, allocations: 26.8 kB / 0.5366 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.3197, allocations: 102.1 kB / 0.5367 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.3198, allocations: 30.83 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.3198, allocations: 20.56 kB / 0.5368 GB, free: 9.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3199, allocations: 331.4 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.32, allocations: 22.39 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.3201, allocations: 35.39 kB / 0.5372 GB, free: 8.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3202, allocations: 59.2 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3202, allocations: 0 / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.3204, allocations: 104.9 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3204, allocations: 5.062 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3204, allocations: 0 / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3205, allocations: 1.094 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.3206, allocations: 16.95 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3206, allocations: 5.719 kB / 0.5373 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.3206, allocations: 14.12 kB / 0.5374 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3206, allocations: 2.719 kB / 0.5374 GB, free: 8.832 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.0001048/0.3208, allocations: 124.4 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.3208, allocations: 17.16 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.3208, allocations: 24.02 kB / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3209, allocations: 1.062 kB / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3209, allocations: 0 / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3209, allocations: 3.938 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.3213, allocations: 400.4 kB / 0.5379 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3213, allocations: 0 / 0.5379 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.3214, allocations: 11.98 kB / 0.5379 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3214, allocations: 5.406 kB / 0.5379 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3214, allocations: 5.25 kB / 0.5379 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3214, allocations: 1.406 kB / 0.5379 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3214, allocations: 0 / 0.5379 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.3217, allocations: 208.2 kB / 0.5381 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.3217, allocations: 89.2 kB / 0.5382 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.3218, allocations: 9.266 kB / 0.5382 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.3218, allocations: 9.438 kB / 0.5382 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.3219, allocations: 7.391 kB / 0.5382 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.3219, allocations: 8.328 kB / 0.5382 GB, free: 7.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3221, allocations: 158.2 kB / 0.5384 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3221, allocations: 0 / 0.5384 GB, free: 7.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.3224, allocations: 21.88 kB / 0.5384 GB, free: 7.855 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.00105/0.3234, allocations: 460.4 kB / 0.5389 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.3236, allocations: 61.91 kB / 0.5389 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3236, allocations: 0 / 0.5389 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.3237, allocations: 33.61 kB / 0.539 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3241, allocations: 34.94 kB / 0.539 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.3245, allocations: 254 kB / 0.5392 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3248, allocations: 0.7147 MB / 0.5399 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.3249, allocations: 15.88 kB / 0.5399 GB, free: 6.637 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3249, allocations: 0 / 0.5399 GB, free: 6.637 MB / 398.1 MB Notification: Performance of Templates: time 0.0042/0.3291, allocations: 1.997 MB / 0.5419 GB, free: 5.598 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches