Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 113 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 212.9 kB / 19.4 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3979, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003341/0.4013, allocations: 1.666 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.4033, allocations: 1.195 MB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.4034, allocations: 4.625 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.4036, allocations: 29.08 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.4039, allocations: 84.83 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.4044, allocations: 174 kB / 0.5347 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.4046, allocations: 87.38 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.4047, allocations: 13.62 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.4048, allocations: 34.84 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.4049, allocations: 33.59 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4049, allocations: 4.125 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.4051, allocations: 104.1 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.4052, allocations: 26.8 kB / 0.535 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.4053, allocations: 29.34 kB / 0.5351 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.4055, allocations: 146.6 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4055, allocations: 0 / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4055, allocations: 0 / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.4056, allocations: 0 / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005868/0.4061, allocations: 415 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4062, allocations: 9.625 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.4062, allocations: 12.91 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.4065, allocations: 201.8 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.4065, allocations: 1.75 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.4065, allocations: 3.125 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.4067, allocations: 82.69 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4068, allocations: 0 / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4068, allocations: 5.375 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4068, allocations: 1.375 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.4069, allocations: 37.97 kB / 0.5359 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.4074, allocations: 310 kB / 0.5362 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.4076, allocations: 44.72 kB / 0.5363 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.4077, allocations: 28.61 kB / 0.5363 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.4077, allocations: 13.08 kB / 0.5363 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.4077, allocations: 31.72 kB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4077, allocations: 0 / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008425/0.4086, allocations: 234.2 kB / 0.5366 GB, free: 9.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.4087, allocations: 82.41 kB / 0.5367 GB, free: 9.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.4088, allocations: 153.5 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4089, allocations: 25.7 kB / 0.5368 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.4089, allocations: 100.2 kB / 0.5369 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.409, allocations: 21.84 kB / 0.5369 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.409, allocations: 20.47 kB / 0.537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4092, allocations: 325.1 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.4093, allocations: 37.31 kB / 0.5373 GB, free: 8.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.4094, allocations: 57.8 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.4097, allocations: 87.45 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4097, allocations: 4.031 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002856/0.41, allocations: 124.9 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.41, allocations: 4.594 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.41, allocations: 0 / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.41, allocations: 1.094 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4101, allocations: 23.39 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4102, allocations: 0 / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.4102, allocations: 18.05 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4103, allocations: 2.062 kB / 0.5376 GB, free: 8.664 MB / 398.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 (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.0001118/0.4104, allocations: 124.4 kB / 0.5377 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.4104, allocations: 7.438 kB / 0.5377 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.4108, allocations: 139.1 kB / 0.5379 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4108, allocations: 1.062 kB / 0.5379 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.4108, allocations: 4 kB / 0.5379 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.4108, allocations: 3.938 kB / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.4114, allocations: 418.7 kB / 0.5383 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4114, allocations: 3.938 kB / 0.5383 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.4115, allocations: 18.95 kB / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4115, allocations: 1.062 kB / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4116, allocations: 13.11 kB / 0.5383 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4116, allocations: 0 / 0.5383 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4116, allocations: 1.062 kB / 0.5383 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.4119, allocations: 223.8 kB / 0.5385 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.412, allocations: 83.45 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.412, allocations: 5 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.4121, allocations: 17.67 kB / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.4122, allocations: 7.172 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.4122, allocations: 1.469 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.4123, allocations: 117.1 kB / 0.5387 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4123, allocations: 0 / 0.5387 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.4126, allocations: 38.48 kB / 0.5388 GB, free: 7.625 MB / 398.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 (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 Backend phase and start with SimCode phase: time 0.001172/0.4138, allocations: 486.5 kB / 0.5393 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.4141, allocations: 93.41 kB / 0.5393 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4141, allocations: 7.938 kB / 0.5393 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.4143, allocations: 52.33 kB / 0.5394 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.4147, allocations: 23.44 kB / 0.5394 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.4152, allocations: 243.4 kB / 0.5397 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4156, allocations: 0.6943 MB / 0.5403 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.4157, allocations: 23.39 kB / 0.5404 GB, free: 6.375 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4157, allocations: 3.938 kB / 0.5404 GB, free: 6.371 MB / 398.1 MB Notification: Performance of Templates: time 0.004662/0.4203, allocations: 2.191 MB / 0.5425 GB, free: 5.234 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches