Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001505/0.001505, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1985/0.1985, allocations: 44.18 MB / 336.8 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.03 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09456, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003267/0.09787, allocations: 1.78 MB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.09927, allocations: 0.8731 MB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.09936, allocations: 4 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.09974, allocations: 99.8 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.09996, allocations: 79.7 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.1003, allocations: 103.6 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.1005, allocations: 111.7 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.1006, allocations: 12 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.458e-05/0.1007, allocations: 47.78 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1008, allocations: 71.67 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1008, allocations: 0 / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.101, allocations: 55.97 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.101, allocations: 27.92 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.1011, allocations: 43.67 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1013, allocations: 104.1 kB / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1013, allocations: 0 / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1013, allocations: 0 / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1013, allocations: 0 / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005298/0.1018, allocations: 438.8 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1019, allocations: 8.031 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.1019, allocations: 12.84 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1022, allocations: 224.6 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1022, allocations: 8.375 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1022, allocations: 12.11 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1024, allocations: 61.66 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1024, allocations: 0 / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1024, allocations: 0 / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1024, allocations: 0 / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.1025, allocations: 27.92 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1029, allocations: 312.7 kB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.1032, allocations: 58.55 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.1032, allocations: 24.97 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1033, allocations: 0 / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.1035, allocations: 71.33 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1035, allocations: 4 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007594/0.1042, allocations: 245.5 kB / 474.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1043, allocations: 59.33 kB / 474.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1045, allocations: 238.3 kB / 474.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1045, allocations: 29.7 kB / 474.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.1046, allocations: 112.1 kB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.1047, allocations: 31.55 kB / 474.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.1047, allocations: 29.72 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1048, allocations: 334.8 kB / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.156e-05/0.1049, allocations: 28 kB / 474.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.979e-05/0.105, allocations: 49.69 kB / 474.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1051, allocations: 77.7 kB / 475 MB, free: 8.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1052, allocations: 4 kB / 475 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002212/0.1054, allocations: 133.4 kB / 475.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1054, allocations: 6.5 kB / 475.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1054, allocations: 0 / 475.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1054, allocations: 4 kB / 475.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.1055, allocations: 19.98 kB / 475.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1055, allocations: 3.938 kB / 475.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.1056, allocations: 7.938 kB / 475.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1056, allocations: 8 kB / 475.2 MB, free: 8.574 MB / 350.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 (13): * Single equations (assignments): 13 * 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.000107/0.1057, allocations: 138.3 kB / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1058, allocations: 15.81 kB / 475.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.1058, allocations: 21.39 kB / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1058, allocations: 0 / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1058, allocations: 3.938 kB / 475.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1058, allocations: 0 / 475.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.1063, allocations: 463.9 kB / 475.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1063, allocations: 0 / 475.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.1064, allocations: 15.98 kB / 475.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1064, allocations: 4 kB / 475.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1064, allocations: 0 / 475.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1064, allocations: 4 kB / 475.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1064, allocations: 0 / 475.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.1067, allocations: 233.1 kB / 476.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.1068, allocations: 96.84 kB / 476.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1068, allocations: 4 kB / 476.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.1069, allocations: 4 kB / 476.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.1069, allocations: 11.98 kB / 476.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1069, allocations: 4.094 kB / 476.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1071, allocations: 188.2 kB / 476.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1071, allocations: 0 / 476.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1074, allocations: 32 kB / 476.4 MB, free: 7.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001124/0.1085, allocations: 0.5124 MB / 476.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1087, allocations: 79.84 kB / 477 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1087, allocations: 4 kB / 477 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.1088, allocations: 35.92 kB / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1092, allocations: 33.94 kB / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.1097, allocations: 360 kB / 477.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.11, allocations: 0.7197 MB / 478.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.1101, allocations: 19.44 kB / 478.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1101, allocations: 0 / 478.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of Templates: time 0.00404/0.1141, allocations: 2.242 MB / 480.4 MB, free: 3.395 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches