Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test1,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.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_3.2.3_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.001088/0.001088, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.001237/0.001238, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.384/1.384, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.1956/0.1956, allocations: 43.52 MB / 314.1 MB, free: 444 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.00138/0.00138, allocations: 66.25 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1126, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003017/0.1156, allocations: 1.554 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006218/0.1163, allocations: 315.5 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.1163, allocations: 7.938 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.1165, allocations: 23.86 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.1168, allocations: 39.78 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.117, allocations: 67.84 kB / 0.4898 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.1172, allocations: 55.83 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1173, allocations: 19.97 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.1174, allocations: 27.86 kB / 0.4899 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.1174, allocations: 11.94 kB / 0.4899 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1175, allocations: 4 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.1176, allocations: 35.97 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.1176, allocations: 11.94 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1176, allocations: 15.86 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1178, allocations: 75.73 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1178, allocations: 0 / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1178, allocations: 3.938 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1178, allocations: 0 / 0.4901 GB, free: 9.508 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.0004171/0.1183, allocations: 379.2 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1183, allocations: 15.88 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.1184, allocations: 8.844 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.1185, allocations: 188.2 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1186, allocations: 384 / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1186, allocations: 4.375 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1187, allocations: 49.81 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1187, allocations: 0 / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1188, allocations: 3.984 kB / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1188, allocations: 4 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.1189, allocations: 27.92 kB / 0.4907 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.1192, allocations: 276.8 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1194, allocations: 38.56 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.1195, allocations: 12.86 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1195, allocations: 7.938 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1195, allocations: 34.56 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1195, allocations: 0 / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004993/0.12, allocations: 133.5 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.1201, allocations: 55.39 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1202, allocations: 144.4 kB / 0.4914 GB, free: 7.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1202, allocations: 25.7 kB / 0.4914 GB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.1203, allocations: 96.08 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1203, allocations: 23.64 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.1204, allocations: 17.72 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1205, allocations: 322.8 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.1206, allocations: 19.98 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.288e-05/0.1206, allocations: 27.98 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1207, allocations: 40.84 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1207, allocations: 0 / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001578/0.1209, allocations: 77.61 kB / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1209, allocations: 11.27 kB / 0.492 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1209, allocations: 0 / 0.492 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.121, allocations: 0 / 0.492 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.121, allocations: 12 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.121, allocations: 4 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.1211, allocations: 11.98 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1211, allocations: 0 / 0.4921 GB, free: 7.254 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.307e-05/0.1212, allocations: 121.7 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.1212, allocations: 7.906 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.1214, allocations: 89.91 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1214, allocations: 0 / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1214, allocations: 4 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1215, allocations: 3.984 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1218, allocations: 346.7 kB / 0.4926 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1218, allocations: 0 / 0.4926 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.1219, allocations: 12 kB / 0.4926 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1219, allocations: 0 / 0.4926 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1219, allocations: 11.94 kB / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1219, allocations: 3.938 kB / 0.4926 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1219, allocations: 7.984 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.1222, allocations: 167.5 kB / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.1222, allocations: 81.02 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1222, allocations: 288 / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.1223, allocations: 11.92 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.1223, allocations: 4 kB / 0.4929 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1223, allocations: 4 kB / 0.4929 GB, free: 6.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.151e-05/0.1224, allocations: 111.2 kB / 0.493 GB, free: 6.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1224, allocations: 3.938 kB / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1227, allocations: 16 kB / 0.493 GB, free: 6.156 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.0008744/0.1235, allocations: 402.7 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1237, allocations: 47.91 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1237, allocations: 4 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.1238, allocations: 23.98 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1241, allocations: 23.28 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.1245, allocations: 173.2 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1247, allocations: 0.6885 MB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.59e-05/0.1248, allocations: 8 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.1248, allocations: 15.42 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1248, allocations: 0 / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of Templates: time 0.003586/0.1284, allocations: 1.081 MB / 0.4954 GB, free: 3.684 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches