Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000995/0.0009951, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1895/0.1895, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 68.45 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09424, allocations: 62.45 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002827/0.09711, allocations: 1.654 MB / 483.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008382/0.09796, allocations: 0.5377 MB / 483.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.09802, allocations: 0 / 483.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.09826, allocations: 99.67 kB / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.09853, allocations: 115.6 kB / 483.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.09876, allocations: 95.69 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.09891, allocations: 87.81 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.09902, allocations: 31.97 kB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.471e-05/0.09908, allocations: 47.78 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.09918, allocations: 55.81 kB / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.0992, allocations: 7.938 kB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.09929, allocations: 47.98 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.09934, allocations: 31.91 kB / 484.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.0994, allocations: 43.67 kB / 484.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.09956, allocations: 119.6 kB / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.09958, allocations: 0 / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.09958, allocations: 4 kB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.0996, allocations: 11.92 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004218/0.1, allocations: 426.9 kB / 484.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1001, allocations: 12.03 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.1001, allocations: 12.75 kB / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1003, allocations: 208 kB / 485.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.1003, allocations: 4.375 kB / 485.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1003, allocations: 4.375 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1005, allocations: 81.66 kB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1005, allocations: 4 kB / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1005, allocations: 7.984 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1005, allocations: 0 / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1006, allocations: 39.97 kB / 485.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.101, allocations: 324.6 kB / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1011, allocations: 70.47 kB / 485.6 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.1012, allocations: 28.84 kB / 485.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1012, allocations: 0 / 485.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1012, allocations: 34.56 kB / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1012, allocations: 0 / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00089/0.1021, allocations: 305.4 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1022, allocations: 63.33 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1024, allocations: 236.3 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1024, allocations: 29.7 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.1025, allocations: 112.1 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.1025, allocations: 43.36 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.1026, allocations: 29.72 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.1027, allocations: 326.8 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.1028, allocations: 35.98 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.1028, allocations: 39.95 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.103, allocations: 96.77 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.103, allocations: 0 / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000226/0.1033, allocations: 133.5 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1033, allocations: 7.938 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1033, allocations: 0 / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1033, allocations: 7.938 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1034, allocations: 27.98 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1034, allocations: 3.938 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.1035, allocations: 7.984 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1035, allocations: 4 kB / 487.1 MB, free: 14.62 MB / 366.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 (13): * Single equations (assignments): 13 * 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 8.437e-05/0.1036, allocations: 137.8 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.1036, allocations: 15.81 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.1039, allocations: 167 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1039, allocations: 3.938 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.104, allocations: 0 / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.104, allocations: 0 / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.1045, allocations: 483.1 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1045, allocations: 0 / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.1046, allocations: 31.86 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1046, allocations: 4 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1046, allocations: 0 / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1046, allocations: 4 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1046, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.1049, allocations: 244.2 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.1049, allocations: 88.92 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.105, allocations: 12 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.105, allocations: 4 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.1051, allocations: 7.984 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1051, allocations: 11.94 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1052, allocations: 181.2 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1052, allocations: 0 / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1055, allocations: 32 kB / 488.5 MB, free: 13.11 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0009047/0.1064, allocations: 451 kB / 489 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1066, allocations: 99.88 kB / 489.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1066, allocations: 0 / 489.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.1067, allocations: 51.92 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.107, allocations: 31.48 kB / 489.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.1075, allocations: 311.9 kB / 489.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1077, allocations: 0.7158 MB / 490.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.263e-05/0.1078, allocations: 20.53 kB / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1078, allocations: 15.44 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1078, allocations: 4 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of Templates: time 0.003478/0.1113, allocations: 1.551 MB / 491.8 MB, free: 9.992 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches