Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, 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.001323/0.001323, allocations: 203.1 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.635/1.635, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.4217/0.4217, allocations: 43.5 MB / 313.5 MB, free: 8.531 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.001793/0.001793, allocations: 74.56 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2025, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.004812/0.2073, allocations: 1.61 MB / 441.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.2092, allocations: 0.9179 MB / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.2093, allocations: 0 / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.2097, allocations: 19.91 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.21, allocations: 27.94 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.2103, allocations: 71.84 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.2105, allocations: 43.91 kB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.2106, allocations: 23.97 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.2107, allocations: 23.81 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.2109, allocations: 23.91 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2109, allocations: 0 / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.2111, allocations: 51.91 kB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.2112, allocations: 11.98 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.2112, allocations: 19.86 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2115, allocations: 88 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2115, allocations: 4 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2115, allocations: 0 / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.2115, allocations: 0 / 442.8 MB, free: 11.91 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.0007154/0.2122, allocations: 383.2 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.2123, allocations: 12.03 kB / 443.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.2124, allocations: 0.9375 kB / 443.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.2127, allocations: 188.2 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.2127, allocations: 4.375 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.2127, allocations: 4.281 kB / 443.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.213, allocations: 71.52 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.213, allocations: 0 / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.213, allocations: 0 / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.213, allocations: 4 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.2132, allocations: 27.92 kB / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.2137, allocations: 272.9 kB / 443.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.214, allocations: 38.56 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.2141, allocations: 16.86 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2141, allocations: 96 / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.2142, allocations: 38.48 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2142, allocations: 0 / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006402/0.2148, allocations: 141.4 kB / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.2149, allocations: 81.05 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.2151, allocations: 133.8 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2152, allocations: 25.7 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.2152, allocations: 95.98 kB / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.2153, allocations: 11.81 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.2153, allocations: 25.7 kB / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2155, allocations: 322.8 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.2156, allocations: 15.98 kB / 444.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.2157, allocations: 33.69 kB / 444.7 MB, free: 9.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.2158, allocations: 40.84 kB / 444.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2158, allocations: 32 / 444.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002038/0.216, allocations: 89.52 kB / 444.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2161, allocations: 7.984 kB / 444.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2161, allocations: 3.938 kB / 444.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2161, allocations: 0 / 444.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.2162, allocations: 12 kB / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2162, allocations: 0 / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.2162, allocations: 7.984 kB / 444.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2162, allocations: 0 / 444.8 MB, free: 9.598 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 0.000107/0.2163, allocations: 129.7 kB / 444.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.2164, allocations: 4 kB / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.2166, allocations: 85.88 kB / 445 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2167, allocations: 8 kB / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.2167, allocations: 0 / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2167, allocations: 0 / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.2172, allocations: 354.4 kB / 445.4 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2172, allocations: 0 / 445.4 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.2172, allocations: 15.98 kB / 445.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2173, allocations: 0 / 445.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2173, allocations: 0 / 445.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.2173, allocations: 3.938 kB / 445.4 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2173, allocations: 3.938 kB / 445.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.2175, allocations: 171.5 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.2176, allocations: 85.02 kB / 445.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.2176, allocations: 3.984 kB / 445.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.2177, allocations: 11.94 kB / 445.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.2178, allocations: 0 / 445.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.2178, allocations: 7.984 kB / 445.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.867e-05/0.2179, allocations: 99.27 kB / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2179, allocations: 0 / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.2182, allocations: 28 kB / 445.8 MB, free: 8.5 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.001152/0.2194, allocations: 446.2 kB / 446.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.2196, allocations: 47.91 kB / 446.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2196, allocations: 4 kB / 446.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.2197, allocations: 27.97 kB / 446.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.2202, allocations: 12 kB / 446.3 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.2207, allocations: 171.2 kB / 446.5 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.221, allocations: 0.7003 MB / 447.2 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.742e-05/0.2211, allocations: 20.16 kB / 447.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.2211, allocations: 15.44 kB / 447.2 MB, free: 7.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2211, allocations: 0 / 447.2 MB, free: 7.051 MB / 382.1 MB Notification: Performance of Templates: time 0.004691/0.2258, allocations: 1.288 MB / 448.5 MB, free: 5.762 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches