Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.000887, allocations: 97.53 kB / 15.69 MB, free: 488 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.0009237/0.0009238, allocations: 173.6 kB / 16.57 MB, free: 6.379 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.276/1.276, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3/0.3, allocations: 43.54 MB / 314.5 MB, free: 9.027 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.0004475/0.0004475, allocations: 16 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09311, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001573/0.09472, allocations: 1.28 MB / 444 MB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004539/0.09519, allocations: 275.9 kB / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.09524, allocations: 0 / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.09547, allocations: 87.73 kB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.09561, allocations: 59.86 kB / 444.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.09581, allocations: 71.78 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.09593, allocations: 43.94 kB / 444.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.189e-05/0.09602, allocations: 12.17 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.09607, allocations: 39.83 kB / 444.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.09616, allocations: 43.89 kB / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.09618, allocations: 0 / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.027e-05/0.09623, allocations: 12 kB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.09628, allocations: 27.91 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.09631, allocations: 37.64 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.09643, allocations: 80.03 kB / 444.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.09644, allocations: 0 / 444.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.09645, allocations: 0 / 444.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.09646, allocations: 4 kB / 444.8 MB, free: 11.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000394/0.09685, allocations: 402.8 kB / 445.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.0969, allocations: 12.02 kB / 445.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.09694, allocations: 19.77 kB / 445.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.09712, allocations: 191.6 kB / 445.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.09714, allocations: 0 / 445.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.09717, allocations: 8 kB / 445.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.09731, allocations: 61.61 kB / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.09733, allocations: 0 / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.09735, allocations: 0 / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.09736, allocations: 4 kB / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.09746, allocations: 47.84 kB / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.0978, allocations: 296.8 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.09792, allocations: 58.55 kB / 445.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.09795, allocations: 0 / 445.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.09797, allocations: 38.5 kB / 445.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.09798, allocations: 0 / 445.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005662/0.09855, allocations: 209.3 kB / 446.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.09859, allocations: 51.41 kB / 446.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.09879, allocations: 230.3 kB / 446.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.09881, allocations: 29.69 kB / 446.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.09888, allocations: 108.1 kB / 446.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.09891, allocations: 31.62 kB / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.09892, allocations: 4 kB / 446.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.09903, allocations: 326.8 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.09911, allocations: 23.98 kB / 446.9 MB, free: 8.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.09918, allocations: 27.98 kB / 446.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.09927, allocations: 36.2 kB / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.09927, allocations: 0 / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001966/0.09948, allocations: 113.5 kB / 447.1 MB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.0995, allocations: 7.953 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.09951, allocations: 0 / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.09952, allocations: 0 / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.497e-05/0.09962, allocations: 27.92 kB / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.09963, allocations: 0 / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.09968, allocations: 8 kB / 447.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.0997, allocations: 0 / 447.1 MB, free: 8.676 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 (8): * Single equations (assignments): 8 * 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.648e-05/0.0998, allocations: 129.8 kB / 447.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.09983, allocations: 7.906 kB / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.1001, allocations: 142.8 kB / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1001, allocations: 0 / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1001, allocations: 0 / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1001, allocations: 0 / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.1006, allocations: 402.5 kB / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1006, allocations: 0 / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.88e-05/0.1007, allocations: 23.92 kB / 447.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1007, allocations: 0 / 447.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.1007, allocations: 0 / 447.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1007, allocations: 0 / 447.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1007, allocations: 7.938 kB / 447.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1009, allocations: 207.4 kB / 448 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.101, allocations: 96.86 kB / 448.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.101, allocations: 7.922 kB / 448.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.1011, allocations: 12 kB / 448.1 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1011, allocations: 7.984 kB / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1011, allocations: 4 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1013, allocations: 168.2 kB / 448.3 MB, free: 7.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1013, allocations: 0 / 448.3 MB, free: 7.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1015, allocations: 23.98 kB / 448.3 MB, free: 7.355 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 (8): * Single equations (assignments): 8 * 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.000788/0.1023, allocations: 393.3 kB / 448.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1025, allocations: 79.94 kB / 448.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1025, allocations: 3.938 kB / 448.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.1026, allocations: 36.08 kB / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.1028, allocations: 20.12 kB / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.1033, allocations: 277.2 kB / 449.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1035, allocations: 0.716 MB / 449.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.263e-05/0.1036, allocations: 12.66 kB / 449.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.1036, allocations: 11.44 kB / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1036, allocations: 0 / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of Templates: time 0.003047/0.1067, allocations: 1.119 MB / 451 MB, free: 4.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches