Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001575/0.001575, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2284/0.2284, allocations: 43.53 MB / 314.1 MB, free: 464 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.001516/0.001516, allocations: 64.23 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.112, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003289/0.1153, allocations: 1.539 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.116, allocations: 323.4 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.1161, allocations: 4 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.1163, allocations: 19.86 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1166, allocations: 43.77 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1169, allocations: 63.86 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1171, allocations: 55.83 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1172, allocations: 19.97 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.1173, allocations: 27.86 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.1173, allocations: 11.94 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1174, allocations: 4 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1175, allocations: 31.98 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.1176, allocations: 19.91 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.1176, allocations: 15.88 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1178, allocations: 75.67 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1178, allocations: 0 / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1178, allocations: 0 / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1178, allocations: 0 / 0.4901 GB, free: 9.535 MB / 382.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.0005421/0.1184, allocations: 383.2 kB / 0.4904 GB, free: 9.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1184, allocations: 11.89 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.1185, allocations: 8.844 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1187, allocations: 187.9 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1187, allocations: 384 / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1187, allocations: 8.375 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1189, allocations: 53.73 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1189, allocations: 3.984 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1189, allocations: 0 / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1189, allocations: 8 kB / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/0.119, allocations: 19.98 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.1194, allocations: 276.8 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1196, allocations: 42.5 kB / 0.491 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.1196, allocations: 16.86 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1197, allocations: 4.094 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1197, allocations: 34.55 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1197, allocations: 0 / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004883/0.1202, allocations: 133.4 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1202, allocations: 51.41 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1204, allocations: 138.1 kB / 0.4914 GB, free: 7.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1204, allocations: 33.7 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.1204, allocations: 92.08 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1205, allocations: 31.58 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1205, allocations: 17.72 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1207, allocations: 318.8 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.1208, allocations: 19.98 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.1208, allocations: 19.98 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1209, allocations: 45.03 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1209, allocations: 0 / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00017/0.1211, allocations: 85.59 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1211, allocations: 4 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1211, allocations: 0 / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1212, allocations: 4 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.1212, allocations: 11.98 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1212, allocations: 4 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.1213, allocations: 4 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1213, allocations: 0 / 0.4921 GB, free: 7.281 MB / 382.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.138e-05/0.1214, allocations: 121.7 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.1214, allocations: 7.906 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1216, allocations: 101.9 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1217, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1217, allocations: 4 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1217, allocations: 0 / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.1221, allocations: 342.4 kB / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1221, allocations: 0 / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.1221, allocations: 11.94 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1221, allocations: 4.172 kB / 0.4926 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1222, allocations: 8 kB / 0.4926 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1222, allocations: 3.938 kB / 0.4926 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1222, allocations: 4 kB / 0.4926 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.1224, allocations: 167.5 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1224, allocations: 81.02 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1224, allocations: 0 / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.1225, allocations: 11.92 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.1225, allocations: 8 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1226, allocations: 4 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.729e-05/0.1226, allocations: 111.2 kB / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1226, allocations: 3.938 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1229, allocations: 12 kB / 0.493 GB, free: 6.184 MB / 382.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.0009883/0.1239, allocations: 417.5 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1241, allocations: 43.97 kB / 0.4935 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1241, allocations: 4 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.1242, allocations: 23.98 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1246, allocations: 27.53 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.125, allocations: 169.3 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1253, allocations: 0.6885 MB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.616e-05/0.1254, allocations: 11.98 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.1254, allocations: 11.44 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1254, allocations: 0 / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of Templates: time 0.003771/0.1292, allocations: 1.085 MB / 0.4954 GB, free: 3.703 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches