Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 109.2 kB / 17.04 MB, free: 5.809 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.001908/0.001907, allocations: 195 kB / 17.98 MB, free: 5.027 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.422/1.422, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2118/0.2118, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 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.34 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09371, allocations: 57.78 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002867/0.09662, allocations: 1.7 MB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.09769, allocations: 0.7923 MB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.09781, allocations: 7.875 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.09816, allocations: 103.7 kB / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.09843, allocations: 87.64 kB / 444.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.0987, allocations: 91.75 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.09886, allocations: 115.7 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.459e-05/0.09896, allocations: 8.234 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.09904, allocations: 59.75 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.09914, allocations: 63.81 kB / 445 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.09916, allocations: 4 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.09925, allocations: 39.98 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.09931, allocations: 39.78 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.09936, allocations: 47.67 kB / 445.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.09953, allocations: 131.5 kB / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.09954, allocations: 4 kB / 445.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09955, allocations: 0 / 445.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.09956, allocations: 0 / 445.3 MB, free: 2.836 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004149/0.09998, allocations: 438.7 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.1, allocations: 11.89 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.1001, allocations: 8.844 kB / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1003, allocations: 227.9 kB / 445.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1003, allocations: 8.375 kB / 445.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.1003, allocations: 4.125 kB / 445.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.1005, allocations: 57.67 kB / 446 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1005, allocations: 3.938 kB / 446 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1005, allocations: 4 kB / 446 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1005, allocations: 4 kB / 446 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.1006, allocations: 23.97 kB / 446 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.1009, allocations: 312.7 kB / 446.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1011, allocations: 70.61 kB / 446.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.1012, allocations: 28.84 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1012, allocations: 7.984 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.1014, allocations: 67.39 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.1014, allocations: 4 kB / 446.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005509/0.102, allocations: 209.2 kB / 446.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.102, allocations: 51.41 kB / 446.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1022, allocations: 246.5 kB / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1022, allocations: 29.7 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.1023, allocations: 112.1 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.1023, allocations: 35.7 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.1023, allocations: 25.66 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.1024, allocations: 334.8 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.1024, allocations: 23.98 kB / 447.6 MB, free: 316 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.1025, allocations: 37.7 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1026, allocations: 73.64 kB / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1026, allocations: 0 / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001637/0.1028, allocations: 121.4 kB / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1028, allocations: 5.25 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1028, allocations: 0 / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1028, allocations: 0 / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.1029, allocations: 23.98 kB / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1029, allocations: 0 / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.103, allocations: 7.938 kB / 447.8 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.103, allocations: 7.938 kB / 447.8 MB, free: 20 kB / 318.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 (11): * Single equations (assignments): 11 * 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.0001155/0.1031, allocations: 137.7 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.1032, allocations: 19.84 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.1032, allocations: 25.39 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1032, allocations: 0 / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1032, allocations: 4 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1032, allocations: 3.938 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.1037, allocations: 415.3 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1037, allocations: 3.984 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.1038, allocations: 8 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1038, allocations: 4.031 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1038, allocations: 11.94 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1038, allocations: 0 / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1038, allocations: 96 / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1041, allocations: 220.1 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.1042, allocations: 85.02 kB / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1042, allocations: 11.94 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.1043, allocations: 4 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1043, allocations: 7.984 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1044, allocations: 4 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1045, allocations: 188.2 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1045, allocations: 0 / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1048, allocations: 31.98 kB / 449 MB, free: 14.75 MB / 334.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 (9): * Single equations (assignments): 7 * 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.001002/0.1058, allocations: 475.4 kB / 449.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.106, allocations: 67.91 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.106, allocations: 0 / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.1061, allocations: 31.98 kB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1064, allocations: 28.3 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.1069, allocations: 295.7 kB / 449.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1073, allocations: 0.7119 MB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.1074, allocations: 20.78 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.1075, allocations: 23.44 kB / 450.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1075, allocations: 0 / 450.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Templates: time 0.004522/0.112, allocations: 1.811 MB / 452.4 MB, free: 11.36 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches