Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001422, allocations: 121.7 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.001507/0.001507, allocations: 212.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.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2044/0.2044, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 83.88 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3036, allocations: 62.42 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002834/0.3065, allocations: 1.741 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.308, allocations: 1.017 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.3081, allocations: 5.312 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.3084, allocations: 44.2 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.3087, allocations: 96.41 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.3089, allocations: 82.91 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.309, allocations: 100.9 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.3091, allocations: 6.875 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3093, allocations: 44.28 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.3094, allocations: 41.41 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.3094, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.235e-05/0.3095, allocations: 44.8 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.3095, allocations: 22.78 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.3096, allocations: 32 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3098, allocations: 127.4 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3098, allocations: 0 / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3098, allocations: 1.375 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3098, allocations: 0 / 0.5351 GB, free: 11.05 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.0005255/0.3103, allocations: 420.4 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.3104, allocations: 12.14 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3104, allocations: 15.34 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3107, allocations: 220.4 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3107, allocations: 5.344 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.3107, allocations: 6.125 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3109, allocations: 54.83 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.3109, allocations: 0 / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3109, allocations: 0 / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3109, allocations: 5.406 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.311, allocations: 18.55 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.3114, allocations: 287.4 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3116, allocations: 58.7 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.3116, allocations: 25.06 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3116, allocations: 5.094 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.3118, allocations: 72.62 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3118, allocations: 5.062 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005289/0.3123, allocations: 166.2 kB / 0.5364 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3124, allocations: 60.41 kB / 0.5364 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3126, allocations: 211.7 kB / 0.5366 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3126, allocations: 30.86 kB / 0.5367 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.3127, allocations: 105.7 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3127, allocations: 28.3 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.3127, allocations: 23.86 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3129, allocations: 326.1 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.3129, allocations: 19.28 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.313, allocations: 35.36 kB / 0.5372 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.3132, allocations: 63.39 kB / 0.5372 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3132, allocations: 3.938 kB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001781/0.3133, allocations: 99.8 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3134, allocations: 6.062 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3134, allocations: 0 / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3134, allocations: 1.094 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.3135, allocations: 18.09 kB / 0.5374 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3135, allocations: 0 / 0.5374 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.3136, allocations: 18.83 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3136, allocations: 2.719 kB / 0.5374 GB, free: 8.871 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 8.523e-05/0.3137, allocations: 119.8 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3137, allocations: 14.12 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.3137, allocations: 18.02 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3137, allocations: 1.156 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3138, allocations: 1.125 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3138, allocations: 3.938 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.3142, allocations: 407.4 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3142, allocations: 1.875 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.3143, allocations: 6.312 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3143, allocations: 1.375 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3143, allocations: 5.438 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3143, allocations: 1.938 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3143, allocations: 0 / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.3145, allocations: 213.1 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.3146, allocations: 92.55 kB / 0.5382 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3146, allocations: 5.219 kB / 0.5382 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.3147, allocations: 6.75 kB / 0.5382 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.3147, allocations: 10.88 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3148, allocations: 4.125 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.3149, allocations: 161.9 kB / 0.5384 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3149, allocations: 0 / 0.5384 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3152, allocations: 24.94 kB / 0.5384 GB, free: 7.898 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.0009704/0.3162, allocations: 454.7 kB / 0.5389 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.3164, allocations: 57.33 kB / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3164, allocations: 3.938 kB / 0.5389 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.267e-05/0.3165, allocations: 34.23 kB / 0.539 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.3168, allocations: 37.48 kB / 0.539 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.3172, allocations: 252.9 kB / 0.5392 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3175, allocations: 0.715 MB / 0.5399 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.3175, allocations: 15.34 kB / 0.5399 GB, free: 6.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3175, allocations: 1.125 kB / 0.5399 GB, free: 6.68 MB / 398.1 MB Notification: Performance of Templates: time 0.003653/0.3212, allocations: 2.001 MB / 0.5419 GB, free: 5.641 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches