Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 98.81 kB / 16.93 MB, free: 5.812 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.001454/0.001454, allocations: 187.3 kB / 17.86 MB, free: 5.176 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.425/1.425, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.2119/0.2119, allocations: 43.52 MB / 314.6 MB, free: 0.5352 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.001521/0.001521, allocations: 73.05 kB / 383.4 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08548/0.08701, allocations: 57.79 MB / 441.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002689/0.08974, allocations: 1.555 MB / 442.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.09097, allocations: 0.9378 MB / 443.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.09104, allocations: 3.938 kB / 443.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.09132, allocations: 23.86 kB / 443.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.09152, allocations: 43.84 kB / 443.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.0918, allocations: 91.36 kB / 443.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.09194, allocations: 55.91 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.09205, allocations: 15.94 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.0921, allocations: 27.84 kB / 443.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.09225, allocations: 23.86 kB / 444 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.09228, allocations: 4 kB / 444 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.596e-05/0.09238, allocations: 51.95 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.09243, allocations: 11.94 kB / 444 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.09247, allocations: 19.88 kB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.09266, allocations: 95.77 kB / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09267, allocations: 0 / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09268, allocations: 0 / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.09269, allocations: 0 / 444.1 MB, free: 3.957 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004162/0.09311, allocations: 379.2 kB / 444.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.09316, allocations: 11.89 kB / 444.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.0932, allocations: 4.938 kB / 444.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.09336, allocations: 192.1 kB / 444.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.09337, allocations: 4.312 kB / 444.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.09341, allocations: 8.375 kB / 444.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.09356, allocations: 67.52 kB / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.09358, allocations: 0 / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.0936, allocations: 0 / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.09361, allocations: 0 / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.197e-05/0.09369, allocations: 23.98 kB / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.09403, allocations: 280.8 kB / 445.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.09424, allocations: 46.55 kB / 445.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.0943, allocations: 12.86 kB / 445.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.09434, allocations: 4 kB / 445.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.09436, allocations: 34.64 kB / 445.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.09437, allocations: 4 kB / 445.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005565/0.09493, allocations: 145.3 kB / 445.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.09498, allocations: 81.05 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.09508, allocations: 129.8 kB / 445.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.0951, allocations: 29.7 kB / 445.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.09515, allocations: 96.03 kB / 445.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.09518, allocations: 19.8 kB / 445.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.09523, allocations: 21.66 kB / 445.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.09532, allocations: 322.8 kB / 446 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.09539, allocations: 19.98 kB / 446 MB, free: 1.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.09547, allocations: 37.77 kB / 446.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.09559, allocations: 60.84 kB / 446.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.0956, allocations: 0 / 446.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001558/0.09576, allocations: 81.58 kB / 446.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.09578, allocations: 4 kB / 446.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.09579, allocations: 0 / 446.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.09581, allocations: 0 / 446.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.09587, allocations: 19.92 kB / 446.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.09589, allocations: 0 / 446.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.011e-05/0.09593, allocations: 8 kB / 446.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.09594, allocations: 0 / 446.2 MB, free: 1.609 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.864e-05/0.09602, allocations: 125.7 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.09606, allocations: 4 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.09629, allocations: 101.8 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.0963, allocations: 0 / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.09631, allocations: 0 / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.09632, allocations: 7.969 kB / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.09665, allocations: 358.8 kB / 446.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.09666, allocations: 0 / 446.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.09672, allocations: 12 kB / 446.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.09673, allocations: 0 / 446.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.09674, allocations: 4 kB / 446.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.09675, allocations: 3.938 kB / 446.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.09675, allocations: 0 / 446.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.09694, allocations: 191.4 kB / 447 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.09698, allocations: 81.11 kB / 447.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.097, allocations: 3.984 kB / 447.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.09708, allocations: 7.938 kB / 447.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.09712, allocations: 0 / 447.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.09713, allocations: 4 kB / 447.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.09718, allocations: 115.2 kB / 447.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09719, allocations: 0 / 447.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.09743, allocations: 16 kB / 447.3 MB, free: 500 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008741/0.09831, allocations: 448.3 kB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.09851, allocations: 59.89 kB / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.09852, allocations: 0 / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.585e-05/0.09859, allocations: 27.98 kB / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.09892, allocations: 19.92 kB / 447.8 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.09933, allocations: 191.3 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.09959, allocations: 0.6904 MB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.09965, allocations: 19.42 kB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.09965, allocations: 3.938 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Templates: time 0.003043/0.1027, allocations: 1.578 MB / 450.3 MB, free: 13.48 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches