Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001097, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 79.88 kB / 482.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2984, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003043/0.3015, allocations: 1.738 MB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.3038, allocations: 1.617 MB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.3039, allocations: 5.375 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.3041, allocations: 41.39 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.3045, allocations: 100.4 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.3048, allocations: 82.91 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3049, allocations: 102.3 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.305, allocations: 10.88 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3052, allocations: 48.27 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.3053, allocations: 46.91 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3054, allocations: 9.484 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.3056, allocations: 107 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.3056, allocations: 20.03 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.3057, allocations: 36.05 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3059, allocations: 166.7 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3059, allocations: 1.125 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.306, allocations: 0 / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.306, allocations: 0 / 0.5358 GB, free: 10.46 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.0005723/0.3065, allocations: 432.5 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3066, allocations: 9.812 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.3066, allocations: 9.188 kB / 0.5362 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3069, allocations: 215.6 kB / 0.5364 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.307, allocations: 6.094 kB / 0.5364 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.307, allocations: 2.125 kB / 0.5364 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3072, allocations: 65.48 kB / 0.5365 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3072, allocations: 5.125 kB / 0.5365 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3072, allocations: 7.938 kB / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3072, allocations: 5.031 kB / 0.5365 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.137e-05/0.3073, allocations: 22.97 kB / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.3076, allocations: 285.6 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.3078, allocations: 53.5 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.3079, allocations: 33.94 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3079, allocations: 1.344 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.3081, allocations: 64.2 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3081, allocations: 0.7812 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005084/0.3086, allocations: 168.7 kB / 0.5371 GB, free: 9.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.3087, allocations: 82.3 kB / 0.5372 GB, free: 9.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.3089, allocations: 172.6 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3089, allocations: 30.8 kB / 0.5374 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.309, allocations: 100.3 kB / 0.5375 GB, free: 8.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.309, allocations: 27.03 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.309, allocations: 21.81 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3091, allocations: 321 kB / 0.5378 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.3092, allocations: 22.77 kB / 0.5378 GB, free: 8.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.3093, allocations: 45.16 kB / 0.5379 GB, free: 8.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.3094, allocations: 63.89 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3094, allocations: 0 / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002443/0.3097, allocations: 95.38 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3097, allocations: 4.656 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3097, allocations: 1.344 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3097, allocations: 1.281 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.3098, allocations: 21.33 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3098, allocations: 3.938 kB / 0.5381 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.3099, allocations: 7.25 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3099, allocations: 2.406 kB / 0.5381 GB, free: 8.258 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 9.009e-05/0.31, allocations: 120.8 kB / 0.5382 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.31, allocations: 12.38 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.3101, allocations: 16.19 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3101, allocations: 1.094 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3101, allocations: 5.188 kB / 0.5382 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3101, allocations: 7.984 kB / 0.5382 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.3106, allocations: 396.9 kB / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3106, allocations: 0 / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.3106, allocations: 16.28 kB / 0.5386 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.3106, allocations: 0.9062 kB / 0.5386 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3107, allocations: 5.438 kB / 0.5386 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3107, allocations: 1 kB / 0.5386 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3107, allocations: 1.031 kB / 0.5386 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.3109, allocations: 203.8 kB / 0.5388 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.311, allocations: 92.88 kB / 0.5389 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.311, allocations: 1.406 kB / 0.5389 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.3111, allocations: 6.344 kB / 0.5389 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.3111, allocations: 14.58 kB / 0.5389 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3111, allocations: 4.25 kB / 0.5389 GB, free: 7.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.3113, allocations: 128.5 kB / 0.539 GB, free: 7.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3113, allocations: 0 / 0.539 GB, free: 7.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.3116, allocations: 46.23 kB / 0.5391 GB, free: 7.293 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.001182/0.3128, allocations: 0.5367 MB / 0.5396 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.3129, allocations: 57.61 kB / 0.5397 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.313, allocations: 1.438 kB / 0.5397 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.065e-05/0.313, allocations: 29.3 kB / 0.5397 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3134, allocations: 44.06 kB / 0.5397 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.3138, allocations: 221.9 kB / 0.54 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.3141, allocations: 0.6985 MB / 0.5406 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.3142, allocations: 21.8 kB / 0.5407 GB, free: 6.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3142, allocations: 0 / 0.5407 GB, free: 6.043 MB / 398.1 MB Notification: Performance of Templates: time 0.004705/0.3189, allocations: 2.422 MB / 0.543 GB, free: 4.785 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches