Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 101.9 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 194.5 kB / 17.56 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.202/0.202, allocations: 43.52 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 70.91 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08096/0.08261, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002761/0.0854, allocations: 1.894 MB / 442.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.08663, allocations: 0.8897 MB / 443.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.08678, allocations: 7.938 kB / 443.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.08719, allocations: 239.5 kB / 443.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.08753, allocations: 171.5 kB / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.08789, allocations: 131.7 kB / 444 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.08816, allocations: 247.4 kB / 444.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.08827, allocations: 17.83 kB / 444.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.08844, allocations: 127.5 kB / 444.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.0886, allocations: 183.4 kB / 444.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.08863, allocations: 12 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.795e-05/0.08873, allocations: 43.98 kB / 444.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.08881, allocations: 71.75 kB / 444.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.08888, allocations: 83.36 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.08907, allocations: 167.7 kB / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.08908, allocations: 4 kB / 444.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.08908, allocations: 3.938 kB / 444.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.08909, allocations: 0 / 444.9 MB, free: 3.07 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000542/0.08964, allocations: 0.5595 MB / 445.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.08968, allocations: 11.89 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.08975, allocations: 32.55 kB / 445.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.08998, allocations: 284 kB / 445.8 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.09, allocations: 384 / 445.8 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.09003, allocations: 20 kB / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.09023, allocations: 99.34 kB / 445.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.09025, allocations: 0 / 445.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.09027, allocations: 0 / 445.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.09028, allocations: 8 kB / 445.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.09039, allocations: 35.97 kB / 446 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.09077, allocations: 460.8 kB / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.09101, allocations: 113.3 kB / 446.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.09109, allocations: 45.7 kB / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.09112, allocations: 0 / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.09136, allocations: 117 kB / 446.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.09137, allocations: 0 / 446.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.000753/0.09213, allocations: 368.5 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.09217, allocations: 85.05 kB / 447.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.0925, allocations: 485.6 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.09253, allocations: 37.64 kB / 447.6 MB, free: 124 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.09263, allocations: 168.4 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.09269, allocations: 43.39 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.09275, allocations: 37.7 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.09294, allocations: 338.8 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.09305, allocations: 51.98 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.09317, allocations: 71.41 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.09339, allocations: 123.3 kB / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.0934, allocations: 0 / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003185/0.09372, allocations: 189.3 kB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.09375, allocations: 4 kB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.09376, allocations: 0 / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.09378, allocations: 8.062 kB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.09391, allocations: 31.92 kB / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.09393, allocations: 12 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.09402, allocations: 8 kB / 448.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.09404, allocations: 7.984 kB / 448.7 MB, free: 15 MB / 334.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 (20): * Single equations (assignments): 20 * 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.0001452/0.09419, allocations: 173.7 kB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.09424, allocations: 31.62 kB / 448.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.09431, allocations: 38.81 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.09432, allocations: 8 kB / 449 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.09434, allocations: 3.938 kB / 449 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.09434, allocations: 0 / 449 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.09506, allocations: 0.6281 MB / 449.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.09508, allocations: 4 kB / 449.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.09514, allocations: 12 kB / 449.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.09515, allocations: 8.062 kB / 449.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.09517, allocations: 8 kB / 449.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.09518, allocations: 3.984 kB / 449.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09518, allocations: 0 / 449.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.09557, allocations: 379.9 kB / 450 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.09564, allocations: 100.7 kB / 450.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.09568, allocations: 4 kB / 450.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.09582, allocations: 7.984 kB / 450.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.09587, allocations: 15.98 kB / 450.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.0959, allocations: 8 kB / 450.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.09622, allocations: 359.1 kB / 450.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09623, allocations: 0 / 450.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.09657, allocations: 40 kB / 450.5 MB, free: 13.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.00107/0.09765, allocations: 482.3 kB / 451 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.09795, allocations: 127.9 kB / 451.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.09796, allocations: 0 / 451.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.0981, allocations: 59.84 kB / 451.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.09862, allocations: 63.98 kB / 451.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008296/0.09946, allocations: 0.6219 MB / 451.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.09987, allocations: 0.771 MB / 452.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.09993, allocations: 31.42 kB / 452.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09994, allocations: 0 / 452.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Templates: time 0.0054/0.1053, allocations: 3.38 MB / 456 MB, free: 7.57 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches