Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 202.7 kB / 16.79 MB, free: 6.84 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.557/1.557, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.392/0.392, allocations: 43.5 MB / 313.5 MB, free: 8.555 MB / 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.001363/0.001364, allocations: 71.91 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.189, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.005862/0.195, allocations: 1.976 MB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.1976, allocations: 0.9637 MB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.1978, allocations: 0 / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.1988, allocations: 195.5 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.1993, allocations: 131.6 kB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.2, allocations: 183.7 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.2004, allocations: 251.3 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.2006, allocations: 29.66 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2007, allocations: 99.48 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.2009, allocations: 99.59 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.2009, allocations: 7.938 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.2011, allocations: 47.95 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.2012, allocations: 47.83 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2013, allocations: 79.41 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.2017, allocations: 231.4 kB / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2017, allocations: 0 / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2017, allocations: 0 / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2017, allocations: 4 kB / 444.1 MB, free: 10.49 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001026/0.2028, allocations: 0.535 MB / 444.7 MB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.2028, allocations: 12.03 kB / 444.7 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.2029, allocations: 20.66 kB / 444.7 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.2033, allocations: 287.5 kB / 445 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.2034, allocations: 4.375 kB / 445 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.2034, allocations: 8.125 kB / 445 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.2037, allocations: 112.1 kB / 445.1 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2037, allocations: 0 / 445.1 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.2037, allocations: 0 / 445.1 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2037, allocations: 4 kB / 445.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2039, allocations: 43.91 kB / 445.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.2045, allocations: 377.6 kB / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.2048, allocations: 117.2 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.2049, allocations: 41.69 kB / 445.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.205, allocations: 8 kB / 445.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.2052, allocations: 120.9 kB / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.2052, allocations: 0 / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005082/0.2058, allocations: 185.5 kB / 446 MB, free: 8.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.2059, allocations: 106.8 kB / 446.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.2062, allocations: 338.9 kB / 446.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2062, allocations: 25.7 kB / 446.5 MB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2064, allocations: 144 kB / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.2064, allocations: 19.72 kB / 446.6 MB, free: 7.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.2065, allocations: 33.7 kB / 446.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2066, allocations: 342.8 kB / 447 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.2067, allocations: 27.98 kB / 447 MB, free: 7.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.2069, allocations: 85.06 kB / 447.1 MB, free: 7.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.2071, allocations: 87.36 kB / 447.2 MB, free: 7.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2071, allocations: 4 kB / 447.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002978/0.2074, allocations: 157.2 kB / 447.3 MB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.2074, allocations: 8 kB / 447.3 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2074, allocations: 0 / 447.3 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.2075, allocations: 0 / 447.3 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2076, allocations: 23.98 kB / 447.4 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2076, allocations: 0 / 447.4 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.2077, allocations: 8 kB / 447.4 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.2078, allocations: 12.38 kB / 447.4 MB, free: 6.941 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001676/0.2079, allocations: 165.7 kB / 447.5 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.208, allocations: 23.72 kB / 447.6 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.272e-05/0.2081, allocations: 25.73 kB / 447.6 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2081, allocations: 7.984 kB / 447.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2081, allocations: 0 / 447.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2081, allocations: 0 / 447.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.2084, allocations: 257.4 kB / 447.9 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2084, allocations: 4 kB / 447.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.2084, allocations: 4 kB / 447.9 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2084, allocations: 8 kB / 447.9 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2084, allocations: 3.984 kB / 447.9 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2085, allocations: 7.875 kB / 447.9 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2085, allocations: 0 / 447.9 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.2088, allocations: 181.5 kB / 448.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.2089, allocations: 96.91 kB / 448.2 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.2089, allocations: 4 kB / 448.2 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.209, allocations: 8 kB / 448.2 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.2091, allocations: 11.98 kB / 448.2 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.2091, allocations: 11.92 kB / 448.2 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.2094, allocations: 241.9 kB / 448.4 MB, free: 5.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2094, allocations: 0 / 448.4 MB, free: 5.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.2097, allocations: 44 kB / 448.5 MB, free: 5.758 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001086/0.2108, allocations: 421.8 kB / 448.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.2111, allocations: 103.8 kB / 449 MB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2111, allocations: 0 / 449 MB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.2112, allocations: 43.98 kB / 449 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.2117, allocations: 52.84 kB / 449.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.2125, allocations: 441.9 kB / 449.5 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.2129, allocations: 0.744 MB / 450.3 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.213, allocations: 30.44 kB / 450.3 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.2131, allocations: 27.42 kB / 450.3 MB, free: 3.895 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2131, allocations: 0 / 450.3 MB, free: 3.895 MB / 382.1 MB Notification: Performance of Templates: time 0.007144/0.2202, allocations: 2.808 MB / 453.1 MB, free: 1.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches