Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 110.3 kB / 17.98 MB, free: 5.238 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.001257/0.001257, allocations: 193.3 kB / 18.9 MB, free: 4.32 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.355/1.355, allocations: 222.9 MB / 242.6 MB, free: 13.6 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.1968/0.1968, allocations: 44.18 MB / 336.9 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 66.19 kB / 408.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1164, allocations: 60.82 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003036/0.1194, allocations: 1.641 MB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007473/0.1202, allocations: 399.3 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.1203, allocations: 7.938 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1206, allocations: 71.78 kB / 471.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1208, allocations: 55.86 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.1211, allocations: 75.84 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1212, allocations: 71.83 kB / 471.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.1213, allocations: 20.17 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.1214, allocations: 35.84 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1215, allocations: 51.88 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1215, allocations: 4 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.1216, allocations: 47.92 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.1217, allocations: 15.98 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.1217, allocations: 31.73 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1219, allocations: 76.19 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1219, allocations: 0 / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1219, allocations: 0 / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1219, allocations: 3.938 kB / 472 MB, free: 12.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004439/0.1223, allocations: 410.9 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1224, allocations: 8.031 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.1224, allocations: 12.83 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1226, allocations: 200.1 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1226, allocations: 384 / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1226, allocations: 8.375 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1228, allocations: 57.61 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1228, allocations: 3.906 kB / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1228, allocations: 0 / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1228, allocations: 4 kB / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.1229, allocations: 23.92 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1233, allocations: 292.8 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1234, allocations: 42.56 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.1234, allocations: 24.88 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1235, allocations: 0 / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1235, allocations: 30.56 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1235, allocations: 0 / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000848/0.1244, allocations: 233.1 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1244, allocations: 51.41 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1246, allocations: 210.1 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1246, allocations: 29.7 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.1247, allocations: 112 kB / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1247, allocations: 27.64 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.1248, allocations: 21.72 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1249, allocations: 322.8 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.125, allocations: 19.98 kB / 474.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.125, allocations: 27.98 kB / 474.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1252, allocations: 64.77 kB / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1252, allocations: 0 / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000192/0.1254, allocations: 109.5 kB / 474.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1254, allocations: 4 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1254, allocations: 0 / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1254, allocations: 0 / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.1255, allocations: 19.98 kB / 474.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1255, allocations: 3.938 kB / 474.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.1256, allocations: 4 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1256, allocations: 4 kB / 474.3 MB, free: 9.531 MB / 350.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 (8): * Single equations (assignments): 8 * 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.0001011/0.1257, allocations: 134.3 kB / 474.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.1257, allocations: 7.906 kB / 474.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.126, allocations: 110.4 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.126, allocations: 4.422 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.126, allocations: 7.875 kB / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.126, allocations: 0 / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.1265, allocations: 399.6 kB / 474.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1265, allocations: 7.984 kB / 475 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.1266, allocations: 19.88 kB / 475 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1266, allocations: 3.984 kB / 475 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1266, allocations: 8 kB / 475 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1266, allocations: 3.984 kB / 475 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1266, allocations: 4.109 kB / 475 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1269, allocations: 196.3 kB / 475.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.1269, allocations: 92.94 kB / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1269, allocations: 0 / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.127, allocations: 8 kB / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1271, allocations: 11.98 kB / 475.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1271, allocations: 4 kB / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1272, allocations: 159.2 kB / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.502e-06/0.1272, allocations: 0 / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1275, allocations: 23.94 kB / 475.5 MB, free: 8.238 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009637/0.1284, allocations: 447.1 kB / 475.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1286, allocations: 67.95 kB / 476 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1287, allocations: 3.938 kB / 476 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.1287, allocations: 31.98 kB / 476 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1291, allocations: 27.92 kB / 476 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.1296, allocations: 308.7 kB / 476.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1299, allocations: 0.7041 MB / 477 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.1299, allocations: 15.44 kB / 477.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1299, allocations: 3.938 kB / 477.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of Templates: time 0.003351/0.1333, allocations: 1.692 MB / 478.8 MB, free: 5.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches