Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 101.5 kB / 17.85 MB, free: 5.664 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.001221/0.001221, allocations: 194 kB / 18.76 MB, free: 4.746 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.43 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.2133/0.2133, allocations: 44.17 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 62.25 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003371/0.1143, allocations: 1.622 MB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007569/0.1151, allocations: 395.3 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.1152, allocations: 4 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1154, allocations: 11.94 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1156, allocations: 31.91 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1159, allocations: 95.08 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.116, allocations: 55.78 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.1161, allocations: 12 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.1162, allocations: 11.94 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.1162, allocations: 23.84 kB / 471.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1163, allocations: 0 / 471.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.1164, allocations: 31.98 kB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.1164, allocations: 11.94 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.1165, allocations: 19.86 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1166, allocations: 55.92 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1166, allocations: 0 / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1166, allocations: 0 / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1166, allocations: 0 / 471.5 MB, free: 12.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004607/0.1171, allocations: 379.5 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1171, allocations: 8.031 kB / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1172, allocations: 8.844 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1174, allocations: 188.2 kB / 472.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1174, allocations: 4.375 kB / 472.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1174, allocations: 4.375 kB / 472.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1176, allocations: 45.81 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1176, allocations: 11.89 kB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1176, allocations: 4 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1176, allocations: 0 / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.184e-05/0.1177, allocations: 23.91 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.118, allocations: 268.9 kB / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1183, allocations: 46.56 kB / 472.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.1183, allocations: 12.94 kB / 472.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1184, allocations: 0 / 472.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1184, allocations: 38.5 kB / 472.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1184, allocations: 4 kB / 472.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005551/0.119, allocations: 137.3 kB / 472.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.119, allocations: 51.41 kB / 472.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1191, allocations: 152.5 kB / 472.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1192, allocations: 25.7 kB / 472.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.1192, allocations: 92.14 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1193, allocations: 11.81 kB / 473 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.1193, allocations: 21.7 kB / 473 MB, free: 10.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1194, allocations: 322.8 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.1195, allocations: 15.98 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.699e-05/0.1196, allocations: 15.98 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1197, allocations: 48.83 kB / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1197, allocations: 4 kB / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001702/0.1199, allocations: 85.64 kB / 473.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1199, allocations: 8 kB / 473.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1199, allocations: 3.938 kB / 473.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1199, allocations: 0 / 473.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.12, allocations: 11.98 kB / 473.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.12, allocations: 0 / 473.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.1201, allocations: 7.984 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1201, allocations: 8 kB / 473.6 MB, free: 10.21 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 (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 8.604e-05/0.1202, allocations: 126.2 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1202, allocations: 3.906 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.1204, allocations: 89.91 kB / 473.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1204, allocations: 0 / 473.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1204, allocations: 0 / 473.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1205, allocations: 4 kB / 473.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.1209, allocations: 342.5 kB / 474.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1209, allocations: 0 / 474.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.1209, allocations: 19.98 kB / 474.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1209, allocations: 0 / 474.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.121, allocations: 0 / 474.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.121, allocations: 7.875 kB / 474.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.121, allocations: 0 / 474.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1212, allocations: 179.4 kB / 474.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.1212, allocations: 85.02 kB / 474.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1213, allocations: 256 / 474.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.688e-05/0.1213, allocations: 7.938 kB / 474.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1214, allocations: 7.984 kB / 474.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1214, allocations: 4 kB / 474.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.633e-05/0.1215, allocations: 115.2 kB / 474.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1215, allocations: 4 kB / 474.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1217, allocations: 8 kB / 474.5 MB, free: 9.121 MB / 350.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.0008936/0.1226, allocations: 399.8 kB / 474.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1228, allocations: 47.91 kB / 475 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1228, allocations: 0 / 475 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.1229, allocations: 23.98 kB / 475 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1233, allocations: 17.81 kB / 475 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.1236, allocations: 209 kB / 475.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1239, allocations: 0.6965 MB / 475.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1239, allocations: 11.44 kB / 475.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1239, allocations: 4 kB / 475.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of Templates: time 0.002903/0.1268, allocations: 1.348 MB / 477.3 MB, free: 6.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches