Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 99.05 kB / 15.98 MB, free: 6.355 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.001162/0.001162, allocations: 191.7 kB / 16.9 MB, free: 6.191 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.72/1.72, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.4691/0.4691, allocations: 43.5 MB / 313.6 MB, free: 8.496 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.002007/0.002008, allocations: 75.88 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.201, allocations: 57.78 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003951/0.205, allocations: 1.721 MB / 441.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2065, allocations: 0.7652 MB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.928e-05/0.2066, allocations: 7.875 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.207, allocations: 51.86 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.2072, allocations: 59.81 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.2075, allocations: 79.84 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.2077, allocations: 99.67 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.2077, allocations: 11.98 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.459e-05/0.2078, allocations: 47.78 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.208, allocations: 47.77 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.208, allocations: 4 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-05/0.2081, allocations: 24 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.2081, allocations: 19.92 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.2082, allocations: 35.78 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.2084, allocations: 95.94 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2084, allocations: 0 / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2084, allocations: 0 / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2085, allocations: 4 kB / 443.1 MB, free: 11.63 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006245/0.2091, allocations: 402.9 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2091, allocations: 15.89 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.2092, allocations: 12.83 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.2095, allocations: 208 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.2095, allocations: 4.375 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2095, allocations: 4.125 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.2097, allocations: 45.67 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2097, allocations: 7.938 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2097, allocations: 4 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2097, allocations: 0 / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.2098, allocations: 19.92 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.21, allocations: 177.7 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.2102, allocations: 54.59 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.2103, allocations: 24.8 kB / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.2103, allocations: 0 / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.2105, allocations: 67.39 kB / 444.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.2105, allocations: 0 / 444.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000316/0.2109, allocations: 101.5 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.2109, allocations: 51.41 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.2111, allocations: 182.2 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2112, allocations: 29.7 kB / 444.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.2113, allocations: 100.1 kB / 444.6 MB, free: 9.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.2113, allocations: 15.81 kB / 444.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.2114, allocations: 21.7 kB / 444.6 MB, free: 9.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2115, allocations: 322.8 kB / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.2116, allocations: 12 kB / 444.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.2116, allocations: 29.64 kB / 444.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.965e-05/0.2117, allocations: 53.64 kB / 445 MB, free: 9.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2118, allocations: 0 / 445 MB, free: 9.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001491/0.2119, allocations: 81.47 kB / 445.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2119, allocations: 4 kB / 445.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.212, allocations: 0 / 445.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.212, allocations: 4 kB / 445.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.2121, allocations: 12 kB / 445.1 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2121, allocations: 0 / 445.1 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.2121, allocations: 15.92 kB / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.2121, allocations: 0 / 445.1 MB, free: 9.352 MB / 382.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001128/0.2123, allocations: 121.8 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.2123, allocations: 11.91 kB / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.2123, allocations: 16.3 kB / 445.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2123, allocations: 0 / 445.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.2124, allocations: 0 / 445.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2124, allocations: 0 / 445.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.2125, allocations: 197.4 kB / 445.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2125, allocations: 4 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.2126, allocations: 11.92 kB / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2126, allocations: 0 / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2126, allocations: 320 / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2126, allocations: 0 / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2126, allocations: 4 kB / 445.5 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.2128, allocations: 113 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.2128, allocations: 81.02 kB / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.2129, allocations: 4 kB / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.2129, allocations: 4 kB / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.213, allocations: 3.984 kB / 445.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.213, allocations: 4 kB / 445.7 MB, free: 8.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.2131, allocations: 140.1 kB / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2131, allocations: 0 / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.2134, allocations: 27.89 kB / 445.8 MB, free: 8.531 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001066/0.2144, allocations: 418.3 kB / 446.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.2146, allocations: 43.98 kB / 446.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2146, allocations: 3.938 kB / 446.3 MB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.2147, allocations: 23.92 kB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2151, allocations: 43.2 kB / 446.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.2156, allocations: 214.1 kB / 446.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.216, allocations: 0.7002 MB / 447.3 MB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.796e-05/0.2161, allocations: 16.53 kB / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.2161, allocations: 11.44 kB / 447.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.2161, allocations: 0 / 447.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of Templates: time 0.006663/0.2228, allocations: 1.44 MB / 448.7 MB, free: 5.609 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches