Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009048/0.0009049, allocations: 175.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008194/0.0008195, allocations: 103.5 kB / 292.2 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3102/0.3102, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003056, allocations: 12 kB / 459.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3076, allocations: 61.88 MB / 0.5095 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.4165, allocations: 88.17 MB / 0.5957 GB, free: 6.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4168, allocations: 83.92 kB / 0.5957 GB, free: 6.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.4281, allocations: 4.667 MB / 0.6003 GB, free: 2.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4282, allocations: 4 kB / 0.6003 GB, free: 2.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4282, allocations: 8 kB / 0.6003 GB, free: 2.191 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004186/0.4286, allocations: 422.7 kB / 0.6007 GB, free: 1.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.4286, allocations: 12.03 kB / 0.6007 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.4287, allocations: 11.81 kB / 0.6007 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.4289, allocations: 221 kB / 0.6009 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.4289, allocations: 4 kB / 0.6009 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.429, allocations: 8 kB / 0.6009 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.4291, allocations: 81.55 kB / 0.601 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4292, allocations: 0 / 0.601 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4292, allocations: 0 / 0.601 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4292, allocations: 7.938 kB / 0.601 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.4293, allocations: 43.95 kB / 0.6011 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.4297, allocations: 344.6 kB / 0.6014 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.4298, allocations: 58.56 kB / 0.6015 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4299, allocations: 3.984 kB / 0.6015 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4299, allocations: 34.56 kB / 0.6015 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4299, allocations: 0 / 0.6015 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009669/0.4309, allocations: 339.2 kB / 0.6018 GB, free: 480 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.4309, allocations: 51.41 kB / 0.6019 GB, free: 416 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.4311, allocations: 205.5 kB / 0.6021 GB, free: 200 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4311, allocations: 25.7 kB / 0.6021 GB, free: 168 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.4312, allocations: 116 kB / 0.6022 GB, free: 48 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.4312, allocations: 47.3 kB / 0.6022 GB, free: 0 / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.4312, allocations: 0 / 0.6022 GB, free: 0 / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4314, allocations: 330.8 kB / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/0.4315, allocations: 35.98 kB / 0.6026 GB, free: 15.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.4316, allocations: 43.97 kB / 0.6026 GB, free: 15.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.005e-05/0.4317, allocations: 47.98 kB / 0.6027 GB, free: 15.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4317, allocations: 3.938 kB / 0.6027 GB, free: 15.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002352/0.4319, allocations: 138.8 kB / 0.6028 GB, free: 15.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4319, allocations: 9.984 kB / 0.6028 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.432, allocations: 7.938 kB / 0.6028 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.432, allocations: 0 / 0.6028 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.4321, allocations: 27.98 kB / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4321, allocations: 0 / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.4322, allocations: 8 kB / 0.6029 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4322, allocations: 7.984 kB / 0.6029 GB, free: 15.34 MB / 426.7 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.635e-05/0.4323, allocations: 134.3 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.4323, allocations: 19.81 kB / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.4327, allocations: 170.1 kB / 0.6032 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4327, allocations: 4 kB / 0.6032 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4327, allocations: 3.984 kB / 0.6032 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4327, allocations: 0 / 0.6032 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.4333, allocations: 0.4913 MB / 0.6037 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4333, allocations: 0 / 0.6037 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.4334, allocations: 32.02 kB / 0.6037 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4334, allocations: 0 / 0.6037 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4334, allocations: 3.938 kB / 0.6037 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.4334, allocations: 8.188 kB / 0.6037 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4334, allocations: 0 / 0.6037 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.4337, allocations: 261.8 kB / 0.604 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.4338, allocations: 96.91 kB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4338, allocations: 11.95 kB / 0.6041 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.4339, allocations: 4 kB / 0.6041 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.4339, allocations: 11.98 kB / 0.6041 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.434, allocations: 4 kB / 0.6041 GB, free: 13.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.4341, allocations: 171.2 kB / 0.6043 GB, free: 13.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4341, allocations: 0 / 0.6043 GB, free: 13.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.4344, allocations: 39.94 kB / 0.6043 GB, free: 13.78 MB / 426.7 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009323/0.4353, allocations: 475.3 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.4356, allocations: 103.9 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4356, allocations: 0 / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4357, allocations: 63.97 kB / 0.6049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.4359, allocations: 11.98 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.4365, allocations: 342.9 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4367, allocations: 0.7199 MB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.4368, allocations: 16.55 kB / 0.606 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.4369, allocations: 23.42 kB / 0.606 GB, free: 12.16 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4369, allocations: 0 / 0.606 GB, free: 12.16 MB / 426.7 MB Notification: Performance of Templates: time 0.003852/0.4407, allocations: 1.535 MB / 0.6075 GB, free: 10.63 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches