Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.035/1.035, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3245/0.3245, allocations: 34.87 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 3.938 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.505e-05, allocations: 10.25 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003454/0.003489, allocations: 1.689 MB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.005547, allocations: 1.328 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.00564, allocations: 4 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.005923, allocations: 19.8 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.006336, allocations: 87.55 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.006793, allocations: 175.4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.006983, allocations: 87.75 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.0071, allocations: 8 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.00718, allocations: 47.83 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.007311, allocations: 27.91 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.007334, allocations: 7.984 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.007528, allocations: 87.89 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.007603, allocations: 23.91 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.007642, allocations: 11.94 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.007939, allocations: 147.5 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.007944, allocations: 0 / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.007945, allocations: 0 / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.007952, allocations: 4 kB / 382.5 MB, free: 14.31 MB / 362.7 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.0005391/0.008491, allocations: 440 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.008541, allocations: 8.031 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.0086, allocations: 8.891 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.008789, allocations: 140.4 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.0088, allocations: 384 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.008834, allocations: 12.31 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.009031, allocations: 116 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.009042, allocations: 192 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.009055, allocations: 4.359 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.009064, allocations: 4.375 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.009115, allocations: 19.92 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.009518, allocations: 287.7 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.22e-05/0.009611, allocations: 39.16 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.009643, allocations: 19.67 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.009669, allocations: 0 / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.0097, allocations: 41.33 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.009701, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005232/0.01022, allocations: 129.4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.01027, allocations: 85.03 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.01043, allocations: 200.9 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.01045, allocations: 25.7 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.01051, allocations: 142.9 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.01055, allocations: 31.81 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.01059, allocations: 27.36 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.01082, allocations: 0.4922 MB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.01086, allocations: 11.98 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.01092, allocations: 53.08 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.97e-05/0.01099, allocations: 35.7 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.01099, allocations: 0 / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001315/0.01112, allocations: 69.58 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01114, allocations: 8 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01115, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.01117, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.01128, allocations: 19.92 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01129, allocations: 0 / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.01132, allocations: 4 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.01133, allocations: 4 kB / 385 MB, free: 11.62 MB / 362.7 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 9.489e-05/0.01143, allocations: 164.6 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.01147, allocations: 15.89 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.01166, allocations: 82.73 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01166, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01167, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01167, allocations: 7.938 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.01205, allocations: 337.4 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01205, allocations: 0 / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.01211, allocations: 15.98 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.01212, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01213, allocations: 8 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01213, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01213, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.01232, allocations: 231.7 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.01233, allocations: 7.938 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.01235, allocations: 8 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.01242, allocations: 8 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.01247, allocations: 3.984 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.01248, allocations: 4 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.406e-05/0.01256, allocations: 147.2 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01256, allocations: 0 / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003357/0.0129, allocations: 47.88 kB / 386 MB, free: 10.48 MB / 362.7 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.001555/0.01445, allocations: 478.4 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.01462, allocations: 43.61 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01463, allocations: 4 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.88e-05/0.01468, allocations: 31.67 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.01501, allocations: 23.88 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.01557, allocations: 208.8 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.01563, allocations: 67.33 kB / 386.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.612e-05/0.01571, allocations: 28.95 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.01577, allocations: 20.48 kB / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01577, allocations: 0 / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of Templates: time 0.005388/0.02116, allocations: 2.002 MB / 388.9 MB, free: 7.688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.46727045904845]