Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009273/0.0009274, allocations: 85.03 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4468/0.4468, allocations: 43.57 MB / 363.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004237, allocations: 16 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1485, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.5732, allocations: 87.99 MB / 0.5659 GB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.5735, allocations: 89.19 kB / 0.566 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01672/0.5902, allocations: 6.222 MB / 0.572 GB, free: 7.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.928e-06/0.5903, allocations: 4 kB / 0.572 GB, free: 7.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.5903, allocations: 8 kB / 0.5721 GB, free: 7.586 MB / 394.7 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.0006135/0.5909, allocations: 414 kB / 0.5725 GB, free: 7.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.591, allocations: 12.03 kB / 0.5725 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.591, allocations: 8.844 kB / 0.5725 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.5914, allocations: 212.6 kB / 0.5727 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5914, allocations: 4.375 kB / 0.5727 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.5914, allocations: 4.375 kB / 0.5727 GB, free: 6.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.5916, allocations: 91.47 kB / 0.5728 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5917, allocations: 0 / 0.5728 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5917, allocations: 0 / 0.5728 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5917, allocations: 4 kB / 0.5728 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-05/0.5918, allocations: 39.89 kB / 0.5728 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.5923, allocations: 296.8 kB / 0.5731 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.5925, allocations: 78.66 kB / 0.5732 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.5926, allocations: 28.84 kB / 0.5732 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.5926, allocations: 0 / 0.5732 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.5927, allocations: 75.33 kB / 0.5733 GB, free: 6.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.5928, allocations: 4 kB / 0.5733 GB, free: 6.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006278/0.5934, allocations: 209.2 kB / 0.5735 GB, free: 5.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.5935, allocations: 81.11 kB / 0.5736 GB, free: 5.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.5937, allocations: 166.3 kB / 0.5737 GB, free: 5.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.5937, allocations: 29.7 kB / 0.5737 GB, free: 5.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.5938, allocations: 92.14 kB / 0.5738 GB, free: 5.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.5939, allocations: 27.64 kB / 0.5739 GB, free: 5.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-06/0.5939, allocations: 8 kB / 0.5739 GB, free: 5.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.5941, allocations: 322.8 kB / 0.5742 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.5942, allocations: 31.92 kB / 0.5742 GB, free: 5.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.5943, allocations: 47.97 kB / 0.5742 GB, free: 5.105 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.5945, allocations: 77.67 kB / 0.5743 GB, free: 5.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5945, allocations: 0 / 0.5743 GB, free: 5.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000235/0.5947, allocations: 117.4 kB / 0.5744 GB, free: 4.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5948, allocations: 14.55 kB / 0.5744 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5948, allocations: 0 / 0.5744 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.5948, allocations: 4 kB / 0.5744 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.5949, allocations: 15.94 kB / 0.5745 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.5949, allocations: 4 kB / 0.5745 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.595, allocations: 11.92 kB / 0.5745 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.595, allocations: 4 kB / 0.5745 GB, free: 4.852 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.00012/0.5951, allocations: 125.8 kB / 0.5746 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.5952, allocations: 11.91 kB / 0.5746 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.5955, allocations: 143.2 kB / 0.5747 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5955, allocations: 0 / 0.5747 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5955, allocations: 0 / 0.5747 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5955, allocations: 3.938 kB / 0.5748 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.5961, allocations: 435.3 kB / 0.5752 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5961, allocations: 0 / 0.5752 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.5962, allocations: 20.02 kB / 0.5752 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5962, allocations: 3.938 kB / 0.5752 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.5962, allocations: 8 kB / 0.5752 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5962, allocations: 0 / 0.5752 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5962, allocations: 0 / 0.5752 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.5966, allocations: 233.3 kB / 0.5754 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.5966, allocations: 85.02 kB / 0.5755 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.5967, allocations: 15.92 kB / 0.5755 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.5968, allocations: 4.188 kB / 0.5755 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.5968, allocations: 11.92 kB / 0.5755 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.5969, allocations: 11.94 kB / 0.5755 GB, free: 3.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.597, allocations: 127 kB / 0.5757 GB, free: 3.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.597, allocations: 0 / 0.5757 GB, free: 3.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.5973, allocations: 47.92 kB / 0.5757 GB, free: 3.48 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001257/0.5986, allocations: 0.4921 MB / 0.5762 GB, free: 3.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.5988, allocations: 83.84 kB / 0.5763 GB, free: 3.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5988, allocations: 0 / 0.5763 GB, free: 3.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.5989, allocations: 43.92 kB / 0.5763 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.5993, allocations: 33.33 kB / 0.5763 GB, free: 2.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.5998, allocations: 236.7 kB / 0.5766 GB, free: 2.676 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.6002, allocations: 0.7004 MB / 0.5773 GB, free: 1.949 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.421e-05/0.6002, allocations: 16.88 kB / 0.5773 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.6003, allocations: 23.42 kB / 0.5773 GB, free: 1.914 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6003, allocations: 0 / 0.5773 GB, free: 1.914 MB / 394.7 MB Notification: Performance of Templates: time 0.004909/0.6052, allocations: 2.023 MB / 0.5793 GB, free: 15.89 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches