Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001814, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 76.09 kB / 482.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3278, allocations: 62.43 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00322/0.3311, allocations: 1.93 MB / 0.5336 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.333, allocations: 1.115 MB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.3331, allocations: 1.625 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.3336, allocations: 254.1 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.3341, allocations: 239.5 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3344, allocations: 123 kB / 0.5353 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.3348, allocations: 272.8 kB / 0.5356 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.335, allocations: 28.78 kB / 0.5356 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3352, allocations: 134.6 kB / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3354, allocations: 192.5 kB / 0.5359 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.3354, allocations: 8.594 kB / 0.5359 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3356, allocations: 63.14 kB / 0.536 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.3357, allocations: 64.12 kB / 0.536 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3358, allocations: 99.55 kB / 0.5361 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.3362, allocations: 252.1 kB / 0.5364 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3362, allocations: 0 / 0.5364 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.3362, allocations: 0 / 0.5364 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3362, allocations: 9.438 kB / 0.5364 GB, free: 10.21 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007894/0.337, allocations: 0.571 MB / 0.5369 GB, free: 9.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.337, allocations: 10.12 kB / 0.537 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.3371, allocations: 30.16 kB / 0.537 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.3375, allocations: 299.2 kB / 0.5373 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3375, allocations: 11.77 kB / 0.5373 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.3376, allocations: 9.938 kB / 0.5373 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.3379, allocations: 111.3 kB / 0.5374 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3379, allocations: 8.906 kB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3379, allocations: 1.031 kB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3379, allocations: 1.812 kB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3381, allocations: 45.09 kB / 0.5375 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.3387, allocations: 493.3 kB / 0.5379 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.3391, allocations: 122.9 kB / 0.538 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3393, allocations: 44.55 kB / 0.5381 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3393, allocations: 2.531 kB / 0.5381 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.3395, allocations: 120.2 kB / 0.5382 GB, free: 8.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.3395, allocations: 0 / 0.5382 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001414/0.341, allocations: 0.5018 MB / 0.5387 GB, free: 8.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.341, allocations: 87.05 kB / 0.5388 GB, free: 8.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.3416, allocations: 0.4896 MB / 0.5393 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3416, allocations: 31.89 kB / 0.5393 GB, free: 7.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3418, allocations: 168.8 kB / 0.5394 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.3418, allocations: 69.58 kB / 0.5395 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.3419, allocations: 42.2 kB / 0.5395 GB, free: 7.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.342, allocations: 349.8 kB / 0.5399 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3422, allocations: 61.88 kB / 0.5399 GB, free: 7.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.3423, allocations: 95.38 kB / 0.54 GB, free: 7.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.3426, allocations: 160.6 kB / 0.5402 GB, free: 7.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3427, allocations: 3.938 kB / 0.5402 GB, free: 7.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003898/0.3431, allocations: 243.3 kB / 0.5404 GB, free: 6.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3431, allocations: 10.59 kB / 0.5404 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3431, allocations: 0 / 0.5404 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3431, allocations: 2.875 kB / 0.5404 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3433, allocations: 42.06 kB / 0.5405 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3433, allocations: 2.625 kB / 0.5405 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.3434, allocations: 11.56 kB / 0.5405 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.3434, allocations: 10.66 kB / 0.5405 GB, free: 6.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001833/0.3436, allocations: 178.3 kB / 0.5407 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.3437, allocations: 34.19 kB / 0.5407 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.933e-05/0.3437, allocations: 46.69 kB / 0.5407 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3438, allocations: 2.938 kB / 0.5407 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3438, allocations: 1.531 kB / 0.5408 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3438, allocations: 0 / 0.5408 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009527/0.3447, allocations: 0.7472 MB / 0.5415 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.3448, allocations: 5.078 kB / 0.5415 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.3448, allocations: 27.72 kB / 0.5415 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3449, allocations: 2.5 kB / 0.5415 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.3449, allocations: 13.17 kB / 0.5415 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3449, allocations: 1.312 kB / 0.5415 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3449, allocations: 2.531 kB / 0.5415 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.3454, allocations: 431.9 kB / 0.5419 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.3455, allocations: 101.9 kB / 0.542 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.3455, allocations: 7.531 kB / 0.542 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.3457, allocations: 16.89 kB / 0.5421 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.3458, allocations: 17.14 kB / 0.5421 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3458, allocations: 11.91 kB / 0.5421 GB, free: 5.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004157/0.3462, allocations: 381.1 kB / 0.5425 GB, free: 5.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3462, allocations: 1.156 kB / 0.5425 GB, free: 5.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.3466, allocations: 44.38 kB / 0.5425 GB, free: 5.375 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001208/0.3478, allocations: 0.519 MB / 0.543 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.3482, allocations: 155.1 kB / 0.5432 GB, free: 5.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3482, allocations: 1.281 kB / 0.5432 GB, free: 5.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3484, allocations: 79.14 kB / 0.5432 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.349, allocations: 60.39 kB / 0.5433 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.35, allocations: 0.6349 MB / 0.5439 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3504, allocations: 0.7879 MB / 0.5447 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.3504, allocations: 26.31 kB / 0.5447 GB, free: 3.789 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3504, allocations: 0 / 0.5447 GB, free: 3.789 MB / 398.1 MB Notification: Performance of Templates: time 0.006638/0.3571, allocations: 3.887 MB / 0.5485 GB, free: 244 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches